Permalink
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (80 sloc) 1.29 KB
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"env": {
// We write for browser
"browser": true,
// using CommonJS imports
"node": true,
// We use Jest for tests
"jest": true,
// And we use ES6 features
"es6": true
},
"ecmaFeatures": {
"jsx": true
},
"rules": {
"indent": [
2,
2,
{
"SwitchCase": 1
}
],
"comma-dangle": [
2,
"never"
],
"jsx-quotes": [
2,
"prefer-double"
],
"padded-blocks": [
0,
"never"
],
"no-console": 2,
"no-debugger": 2,
"no-plusplus": 0,
"no-prototype-builtins": 0,
"guard-for-in": 0,
"object-curly-spacing": [
2,
"always"
],
"max-len": [
2,
{
"code": 120,
"ignoreComments": true
}
],
// React
"react/jsx-filename-extension": 0,
"react/forbid-prop-types": [
2,
{
"forbid": [
"any",
"array"
]
}
],
// a11y
"jsx-a11y/no-static-element-interactions": 0,
// Import
"import/no-extraneous-dependencies": [
2,
{
"devDependencies": [
"**/webpack*.js",
"**/*.spec.js",
"./mocha-environment.js"
]
}
]
}
}