2016-07-22 16:54:58 -04:00
|
|
|
{
|
2016-11-21 18:19:51 -05:00
|
|
|
"env": {
|
2016-11-14 17:37:13 -05:00
|
|
|
"jquery": true,
|
2016-11-21 18:19:51 -05:00
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
2016-11-14 17:37:13 -05:00
|
|
|
"extends": "airbnb-base",
|
2016-07-22 16:54:58 -04:00
|
|
|
"globals": {
|
2017-08-18 17:05:53 -04:00
|
|
|
"__webpack_public_path__": true,
|
2016-07-22 16:54:58 -04:00
|
|
|
"_": false,
|
|
|
|
"gl": false,
|
2016-11-06 13:41:23 -05:00
|
|
|
"gon": false,
|
|
|
|
"localStorage": false
|
2016-11-22 13:56:03 -05:00
|
|
|
},
|
2017-04-11 17:48:22 -04:00
|
|
|
"parser": "babel-eslint",
|
2016-11-22 13:56:03 -05:00
|
|
|
"plugins": [
|
2017-02-14 02:35:27 -05:00
|
|
|
"filenames",
|
2017-04-06 18:03:23 -04:00
|
|
|
"import",
|
2017-04-20 07:11:51 -04:00
|
|
|
"html",
|
|
|
|
"promise"
|
2016-11-22 13:56:03 -05:00
|
|
|
],
|
2017-02-14 02:35:27 -05:00
|
|
|
"settings": {
|
2017-04-06 18:03:23 -04:00
|
|
|
"html/html-extensions": [".html", ".html.raw", ".vue"],
|
2017-02-14 02:35:27 -05:00
|
|
|
"import/resolver": {
|
|
|
|
"webpack": {
|
|
|
|
"config": "./config/webpack.config.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2016-11-22 13:56:03 -05:00
|
|
|
"rules": {
|
2017-02-14 14:10:57 -05:00
|
|
|
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
|
2017-05-18 16:05:41 -04:00
|
|
|
"import/no-commonjs": "error",
|
2017-04-20 07:11:51 -04:00
|
|
|
"no-multiple-empty-lines": ["error", { "max": 1 }],
|
2017-08-04 08:13:21 -04:00
|
|
|
"promise/catch-or-return": "error",
|
2017-08-04 08:14:54 -04:00
|
|
|
"no-underscore-dangle": ["error", { "allow": ["__"]}]
|
2016-07-22 16:54:58 -04:00
|
|
|
}
|
|
|
|
}
|