Skip to content

Instantly share code, notes, and snippets.

@Vladmel1234
Created July 19, 2017 07:54
Show Gist options
  • Save Vladmel1234/8c7f415d602d1545ec0abc79296ea8e2 to your computer and use it in GitHub Desktop.
Save Vladmel1234/8c7f415d602d1545ec0abc79296ea8e2 to your computer and use it in GitHub Desktop.
eslint rc work
{
"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