grasp/.eslintrc.js
2019-01-06 21:00:47 +00:00

39 lines
734 B
JavaScript

module.exports = {
"parser": "babel-eslint",
"plugins": [
"flowtype"
],
'extends': [
// "google",
"eslint:recommended",
"plugin:flowtype/recommended",
],
'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",
// ],
//};