lbry-desktop/.eslintrc.json

43 lines
882 B
JSON
Raw Normal View History

2017-12-13 22:35:07 +01:00
{
"plugins": ["flowtype"],
2017-12-13 22:35:07 +01:00
"extends": [
"airbnb",
"plugin:import/electron",
2017-12-13 22:35:07 +01:00
"plugin:flowtype/recommended",
"plugin:prettier/recommended"
2017-12-13 22:35:07 +01:00
],
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.renderer.additions.js"
}
}
2017-12-13 22:35:07 +01:00
},
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"globals": {
"__static": true,
"staticResourcesPath": true,
"__": true,
"__n": true,
"app": true
2017-12-20 16:35:13 +01:00
},
"rules": {
"import/no-commonjs": "warn",
"import/no-amd": "warn",
"prettier/prettier": ["error", {
"trailingComma": "es5",
"printWidth": 100,
"singleQuote": true
}],
"func-names": ["warn", "as-needed"],
"jsx-a11y/label-has-for": 0,
2018-05-16 04:32:13 +02:00
"import/prefer-default-export": 0,
2018-05-25 06:36:43 +02:00
"no-return-assign": 0,
"react/require-default-props": 0
2017-12-13 22:35:07 +01:00
}
}