lbryinc/.eslintrc.json

34 lines
654 B
JSON
Raw Permalink Normal View History

{
"plugins": ["flowtype"],
"extends": [
"airbnb-base",
"plugin:import/electron",
"plugin:flowtype/recommended",
"plugin:prettier/recommended"
],
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.js"
}
}
},
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"globals": {
"__": true
},
"rules": {
2019-10-02 06:15:24 +02:00
"consistent-return": 0,
"import/no-commonjs": "warn",
"import/no-amd": "warn",
"import/prefer-default-export": "ignore",
"flowtype/generic-spacing": 0,
2019-09-13 16:38:40 +02:00
"func-names": ["warn", "as-needed"],
"no-plusplus": 0
}
}