Created
March 15, 2017 15:24
-
-
Save alicanerdogan/f606f99be884b15e1a1142b9671686cd to your computer and use it in GitHub Desktop.
ESLint Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "parserOptions": { | |
| "ecmaVersion": 6, | |
| "sourceType": "module", | |
| "ecmaFeatures": { | |
| "jsx": true | |
| } | |
| }, | |
| "env": { | |
| "browser": true, | |
| "jest": true, | |
| "node": true, | |
| "es6": true | |
| }, | |
| "rules": { | |
| "eol-last": ["error", "always"], | |
| "brace-style": ["error", "stroustrup"], | |
| "indent": ["error", 2], | |
| "no-mixed-spaces-and-tabs": 2, | |
| "quotes": ["error","single"], | |
| "semi": ["error","always"], | |
| "comma-dangle": ["error","never"], | |
| "no-cond-assign": ["error","always"], | |
| "no-console": 1, | |
| "no-constant-condition": 1, | |
| "no-debugger": 2, | |
| "no-dupe-args": 2, | |
| "no-dupe-keys": 2, | |
| "no-duplicate-case": 2, | |
| "no-empty": 1, | |
| "no-ex-assign": 2, | |
| "no-extra-semi": 2, | |
| "no-func-assign": 1, | |
| "no-irregular-whitespace": 2, | |
| "no-unreachable": 1, | |
| "valid-typeof": 2, | |
| "eqeqeq": 2, | |
| "no-undef": 2, | |
| "constructor-super": 1, | |
| "no-class-assign": 2, | |
| "no-const-assign": 2, | |
| "no-this-before-super": 1, | |
| "no-var": 1, | |
| "prefer-const": 2 | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment