grasp/.eslintrc.js

39 lines
734 B
JavaScript
Raw Normal View History

2019-01-04 13:27:24 -08:00
module.exports = {
2019-01-06 12:49:39 -08:00
"parser": "babel-eslint",
"plugins": [
"flowtype"
],
2019-01-04 13:27:24 -08:00
'extends': [
// "google",
"eslint:recommended",
2019-01-06 12:49:39 -08:00
"plugin:flowtype/recommended",
2019-01-04 13:27:24 -08:00
],
'env': {
'browser': true,
'webextensions': true,
'node': true,
'es6': true,
},
"parserOptions": {
'sourceType': 'module',
"ecmaFeatures": {
"forOf": true,
"modules": true,
}
},
"rules": {
"indent": "off",
"comma-dangle": "off",
"no-console": "off",
}
// TODO use flow?
};
//module.exports = {
// // "extends": "google",
// 'extends': [
// "plugin:react/recommended",
// ],
//};