diff options
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}] + } +} |