lbry-wunderbot/.eslintrc
2018-05-19 23:35:45 +02:00

40 lines
1 KiB
Text

{
"parser": "babel-eslint",
"env": {
"node": true
},
"extends": ["airbnb-base", "prettier"],
"rules": {
"func-names": 0,
"max-len": [1, 120],
"no-unused-vars": 0,
"no-script-url": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"no-console": 0,
"no-undef": 0,
"import/prefer-default-export": 0,
"global-require": 0,
"comma-dangle": ["off"],
"import/extensions": 0,
"guard-for-in": ["warn"],
"no-restricted-syntax": ["warn"],
"object-curly-spacing": ["off"],
"padded-blocks": ["off"],
"no-underscore-dangle": [
"error",
{
"allowAfterThis": true
}
],
"no-plusplus": 0,
"no-shadow": 0,
"class-methods-use-this": 0,
"consistent-return": 0,
"indent": ["error", 4],
"eol-last": [1, "always"]
},
"parserOptions": {
"ecmaVersion": 6
}
}