diff options
author | Anike Arni <aarni@thoughtworks.com> | 2017-02-07 19:46:45 -0200 |
---|---|---|
committer | Anike Arni <aarni@thoughtworks.com> | 2017-02-08 13:51:36 -0200 |
commit | 7f76c79319bf0817222fc88011fd870d97648963 (patch) | |
tree | 0931901230ed645e8a6d7d17081e1769392ec928 /web-ui/.eslintrc.json | |
parent | a1c384cebd80e177389ef79c2de6400db986aaa6 (diff) |
[#922] Adds eslint for react and es6 files
Diffstat (limited to 'web-ui/.eslintrc.json')
-rw-r--r-- | web-ui/.eslintrc.json | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/web-ui/.eslintrc.json b/web-ui/.eslintrc.json new file mode 100644 index 00000000..4828136e --- /dev/null +++ b/web-ui/.eslintrc.json @@ -0,0 +1,18 @@ +{ + "extends": "airbnb", + "plugins": [ + "react", + "jsx-a11y", + "import" + ], + "rules": { + "import/no-extraneous-dependencies": ["off"], + "import/extensions": ["off"], + "import/no-unresolved": ["off"], + "react/jsx-filename-extension": ["off"], + "jsx-quotes": ["error", "prefer-single"], + "no-undef": ["off"], + "comma-dangle": ["off"], + "semi": ["error", "never"] + } +} |