Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (48 sloc) 1.28 KB
{
"root": true,
"extends": "airbnb/base",
"env": {
"browser": true
},
"parser": "babel-eslint",
"ecmaVersion": 6,
"rules": {
"array-bracket-spacing": 0,
"arrow-body-style": 0,
"comma-dangle": 0, // not sure why airbnb turned this on. gross!
"computed-property-spacing": 0,
"consistent-return": 0,
"global-require": 0,
"id-length": [2, {"min": 2, "max": 30, "properties": "never", "exceptions": ["_", "t", "a", "b"]}],
"import/default": 0,
"import/named": 0,
"import/namespace": 0,
"import/no-duplicates": 0,
"import/no-named-as-default": 2,
"import/no-unresolved": 0,
"import/extensions": 0,
"indent": [2, 2, {"SwitchCase": 1}],
"max-len": [0, 120, 2],
"no-alert": 0,
"no-console": 0,
"no-param-reassign": [2, {"props": false}],
"no-use-before-define": 0, // disabled until https://github.com/babel/babel-eslint/issues/249 is fixed
"no-underscore-dangle": 0,
"object-curly-spacing": 0,
"object-shorthand": 0,
"prefer-arrow-callback": 0,
"prefer-template": 0,
"quote-props": [2, "consistent"]
},
"plugins": [
"import"
],
"settings": {
"import/parser": "babel-eslint",
"import/resolve": {
"moduleDirectory": ["node_modules", "src"]
}
},
"globals": {
}
}