summaryrefslogtreecommitdiff
path: root/web-ui/.eslintrc.json
diff options
context:
space:
mode:
authorAnike Arni <anikarni@gmail.com>2017-02-08 17:45:34 -0200
committerGitHub <noreply@github.com>2017-02-08 17:45:34 -0200
commit0d4cf4ad3a5da62f65730d6c3e3665fc12d72590 (patch)
treee852ab83caeca6158ffc78e3cda100157ddb9f88 /web-ui/.eslintrc.json
parenta1c384cebd80e177389ef79c2de6400db986aaa6 (diff)
parentea852b12e33b0e50ba7986c33ad68be5e38305ba (diff)
Merge pull request #965 from pixelated/backup-email-page
Adds lint, coverage and css autoprefixer
Diffstat (limited to 'web-ui/.eslintrc.json')
-rw-r--r--web-ui/.eslintrc.json18
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..554498f9
--- /dev/null
+++ b/web-ui/.eslintrc.json
@@ -0,0 +1,18 @@
+/* see https://github.com/airbnb/javascript for lint rules */
+{
+ "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"]
+ }
+}