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
|
|
|
|
},
|
2018-01-03 18:14:55 -05:00
|
|
|
"extends": [
|
|
|
|
"airbnb-base",
|
|
|
|
"plugin:vue/recommended"
|
|
|
|
],
|
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
|
|
|
"gl": false,
|
2016-11-06 13:41:23 -05:00
|
|
|
"gon": false,
|
|
|
|
"localStorage": false
|
2016-11-22 13:56:03 -05:00
|
|
|
},
|
2018-01-03 18:14:55 -05:00
|
|
|
"parserOptions": {
|
2018-01-09 06:58:34 -05:00
|
|
|
"parser": "babel-eslint"
|
2018-01-03 18:14:55 -05:00
|
|
|
},
|
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": {
|
2018-01-04 14:07:28 -05:00
|
|
|
"html/html-extensions": [".html", ".html.raw"],
|
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",
|
2018-01-04 14:50:06 -05:00
|
|
|
"no-underscore-dangle": ["error", { "allow": ["__"]}],
|
|
|
|
"vue/html-self-closing": ["error", {
|
|
|
|
"html": {
|
|
|
|
"void": "always",
|
2018-01-06 13:59:49 -05:00
|
|
|
"normal": "never",
|
2018-01-04 14:50:06 -05:00
|
|
|
"component": "always"
|
|
|
|
},
|
|
|
|
"svg": "always",
|
2018-01-06 13:59:49 -05:00
|
|
|
"math": "always"
|
2018-01-04 14:50:06 -05:00
|
|
|
}]
|
2016-07-22 16:54:58 -04:00
|
|
|
}
|
|
|
|
}
|