Airbnb eslint file
{ | |
"extends": [ | |
"airbnb", | |
"plugin:lodash-fp/recommended" | |
], | |
"parser": "babel-eslint", | |
"plugins": [ | |
"lodash-fp" | |
], | |
"env": { | |
"browser": true, | |
"node": true, | |
"mocha": true, | |
"es6": true | |
}, | |
"ecmaFeatures": { | |
"jsx": true, | |
"es6": true, | |
"classes": true, | |
"experimentalObjectRestSpread": true | |
}, | |
"rules": { | |
"arrow-body-style": [0], | |
"comma-dangle": 0, // trailing commas | |
"no-var": 0, // let const | |
"quotes": [2, "single", { "allowTemplateLiterals": true }], | |
"quote-props": [2, "consistent"], | |
"object-shorthand": [2, "always"], | |
"no-param-reassign": 0, | |
"no-unused-vars": 2, | |
"no-undef": 2, | |
"max-len": [1, 200, 2], | |
"no-else-return": 1, | |
"func-names": 0, | |
"dot-notation": 0, | |
"react/prefer-es6-class": 0, | |
"react/no-deprecated": 0, | |
"react/jsx-closing-bracket-location": [2, "after-props"], | |
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], | |
"react/jsx-boolean-value": [2, "always"], | |
"react/prefer-stateless-function": [0, { "ignorePureComponents": true }], | |
"react/forbid-prop-types": 0, | |
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }], | |
"lodash-fp/use-fp": 0, | |
"lodash-fp/prefer-constant": 0 | |
}, | |
"globals": { | |
"beforeEach": true, | |
"describe": true, | |
"should": true, | |
"it": true, | |
"sinon": true, | |
"have": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment