lbry-desktop/.eslintrc.json

33 lines
567 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",
"prettier"
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,
"__": true,
"__n": true,
"app": true
2017-12-20 16:35:13 +01:00
},
"rules": {
"import/no-commonjs": "warn",
"import/no-amd": "warn",
"func-names": ["warn", "as-needed"]
2017-12-13 22:35:07 +01:00
}
}