diff options
| author | adamhrv <adam@ahprojects.com> | 2018-12-16 19:38:54 +0100 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2018-12-16 19:38:54 +0100 |
| commit | 23e9fef5dce8b0b15dd94713816b9d7d45f12356 (patch) | |
| tree | 3ca9ffe3adce76318450991bfc613073470b604c /.eslintrc.js | |
| parent | 759027d5fbfd6665082f72a3ceaeef68c2d2142e (diff) | |
| parent | 6431d06048791763f3644b3a0457cc9c4f1df6d3 (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to '.eslintrc.js')
| -rw-r--r-- | .eslintrc.js | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 00000000..364bcad6 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,49 @@ +module.exports = { + "extends": [ + "airbnb-base", + "plugin:react/recommended" + ], + "plugins": [ + "import", + "react", + "class-property" + ], + "parser": "babel-eslint", + "parserOptions": { + "ecmaFeatures": { + "jsx": true, + "classes": true, + } + }, + "rules": { + "react/prop-types": 1, + "react/jsx-uses-vars": 2, + "no-underscore-dangle": 0, + "comma-dangle": ["error", "only-multiline"], + "semi": ["error", "never"], + "prefer-const": "off", + "no-plusplus": "off", + "no-param-reassign": 0, + "no-return-assign": 0, + "global-require": 0, + "arrow-parens": 0, + "prefer-template": 0, + "no-nested-ternary": 0, + "no-mixed-operators": 0, + "no-confusing-arrow": 0, + "prefer-arrow-callback": 0, + "prefer-arrow-callback": 0, + "func-names": 0, + "object-curly-newline": 0, + "class-methods-use-this": 0, + "quotes": "off", + }, + "env": { + "browser": true, + "mocha": true, + }, + "globals" : { + "assert": false, + "web3": false + }, +}; |
