2016-07-22 20:54:58 +00:00
|
|
|
{
|
2016-11-21 23:19:51 +00:00
|
|
|
"env": {
|
2016-11-14 22:37:13 +00:00
|
|
|
"jquery": true,
|
2016-11-21 23:19:51 +00:00
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
2018-01-03 23:14:55 +00:00
|
|
|
"extends": [
|
|
|
|
"airbnb-base",
|
|
|
|
"plugin:vue/recommended"
|
|
|
|
],
|
2016-07-22 20:54:58 +00:00
|
|
|
"globals": {
|
2017-08-18 21:05:53 +00:00
|
|
|
"__webpack_public_path__": true,
|
2016-07-22 20:54:58 +00:00
|
|
|
"gl": false,
|
2016-11-06 18:41:23 +00:00
|
|
|
"gon": false,
|
|
|
|
"localStorage": false
|
2016-11-22 18:56:03 +00:00
|
|
|
},
|
2018-01-03 23:14:55 +00:00
|
|
|
"parserOptions": {
|
2018-01-09 11:58:34 +00:00
|
|
|
"parser": "babel-eslint"
|
2018-01-03 23:14:55 +00:00
|
|
|
},
|
2016-11-22 18:56:03 +00:00
|
|
|
"plugins": [
|
2017-02-14 07:35:27 +00:00
|
|
|
"filenames",
|
2017-04-06 22:03:23 +00:00
|
|
|
"import",
|
2017-04-20 11:11:51 +00:00
|
|
|
"html",
|
|
|
|
"promise"
|
2016-11-22 18:56:03 +00:00
|
|
|
],
|
2017-02-14 07:35:27 +00:00
|
|
|
"settings": {
|
2018-01-04 19:07:28 +00:00
|
|
|
"html/html-extensions": [".html", ".html.raw"],
|
2017-02-14 07:35:27 +00:00
|
|
|
"import/resolver": {
|
|
|
|
"webpack": {
|
|
|
|
"config": "./config/webpack.config.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2016-11-22 18:56:03 +00:00
|
|
|
"rules": {
|
2017-02-14 19:10:57 +00:00
|
|
|
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
|
2017-05-18 20:05:41 +00:00
|
|
|
"import/no-commonjs": "error",
|
2017-04-20 11:11:51 +00:00
|
|
|
"no-multiple-empty-lines": ["error", { "max": 1 }],
|
2017-08-04 12:13:21 +00:00
|
|
|
"promise/catch-or-return": "error",
|
2018-01-04 19:50:06 +00:00
|
|
|
"no-underscore-dangle": ["error", { "allow": ["__"]}],
|
|
|
|
"vue/html-self-closing": ["error", {
|
|
|
|
"html": {
|
|
|
|
"void": "always",
|
2018-01-06 18:59:49 +00:00
|
|
|
"normal": "never",
|
2018-01-04 19:50:06 +00:00
|
|
|
"component": "always"
|
|
|
|
},
|
|
|
|
"svg": "always",
|
2018-01-06 18:59:49 +00:00
|
|
|
"math": "always"
|
2018-01-04 19:50:06 +00:00
|
|
|
}]
|
2016-07-22 20:54:58 +00:00
|
|
|
}
|
|
|
|
}
|