Created
July 19, 2017 07:54
-
-
Save Vladmel1234/8c7f415d602d1545ec0abc79296ea8e2 to your computer and use it in GitHub Desktop.
eslint rc work
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
{ | |
"extends": "eslint-config-airbnb", | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true, | |
"mocha": true | |
}, | |
"rules": { | |
"react/jsx-boolean-value": 0, | |
"react/no-multi-comp": 0, | |
"react/jsx-space-before-closing": 0, | |
"react/jsx-no-bind": 0, | |
"react/prefer-stateless-function": 0, | |
"react/prop-types": 0, | |
"import/default": 0, | |
"import/no-duplicates": 0, | |
"import/named": 0, | |
"import/namespace": 0, | |
"import/no-unresolved": 0, | |
"comma-dangle": 0, | |
"prefer-template": 0, | |
"global-require": 0, | |
"no-underscore-dangle": 0, | |
"no-console": 0, | |
"no-alert": 0, | |
"max-len": 0, | |
"arrow-body-style": 0, | |
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], | |
"import/extensions": 0, | |
"import/no-extraneous-dependencies": 0, | |
"no-mixed-operators": 0, | |
"import/first": 0, | |
"import/order": 0, | |
"react/forbid-prop-types": 0, | |
"react/require-default-props": 0, | |
"react/no-array-index-key": 0, | |
"arrow-parens": 0, | |
}, | |
"plugins": [ | |
"react", | |
"import" | |
], | |
"settings": { | |
"import/parser": "babel-eslint", | |
"import/resolve": { | |
"moduleDirectory": [ | |
"node_modules", | |
"src" | |
] | |
} | |
}, | |
"globals": { | |
"__DEVELOPMENT__": true, | |
"__CLIENT__": true, | |
"__SERVER__": true, | |
"__DISABLE_SSR__": true, | |
"__DEVTOOLS__": true, | |
"socket": true, | |
"webpackIsomorphicTools": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment