diff options
author | Philip Paquette <pcpaquette@gmail.com> | 2018-09-26 07:48:55 -0400 |
---|---|---|
committer | Philip Paquette <pcpaquette@gmail.com> | 2019-04-18 11:14:24 -0400 |
commit | 6187faf20384b0c5a4966343b2d4ca47f8b11e45 (patch) | |
tree | 151ccd21aea20180432c13fe4b58240d3d9e98b6 /diplomacy/web/.eslintrc | |
parent | 96b7e2c03ed98705754f13ae8efa808b948ee3a8 (diff) |
Release v1.0.0 - Diplomacy Game Engine - AGPL v3+ License
Diffstat (limited to 'diplomacy/web/.eslintrc')
-rw-r--r-- | diplomacy/web/.eslintrc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/diplomacy/web/.eslintrc b/diplomacy/web/.eslintrc new file mode 100644 index 0000000..85a4876 --- /dev/null +++ b/diplomacy/web/.eslintrc @@ -0,0 +1,25 @@ +{ + "plugins": [ + "react" + ], + "parserOptions": { + "ecmaVersion": 6, + "sourceType": "module", + "ecmaFeatures": { + "jsx": true + } + }, + "env": { + "es6": true, + "browser": true, + "node": true, + "mocha": true + }, + "extends": [ + "eslint:recommended", + "plugin:react/recommended" + ], + "rules": { + "semi": [2, "always", { "omitLastInOneLineBlock": true}] + } +} |