2017-08-17 22:00:37 +05:30
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"jquery": true,
|
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"extends": "airbnb-base",
|
|
|
|
"globals": {
|
|
|
|
"_": false,
|
|
|
|
"gl": false,
|
|
|
|
"gon": false,
|
|
|
|
"localStorage": false
|
|
|
|
},
|
2017-09-10 17:25:29 +05:30
|
|
|
"parser": "babel-eslint",
|
2017-08-17 22:00:37 +05:30
|
|
|
"plugins": [
|
|
|
|
"filenames",
|
|
|
|
"import",
|
|
|
|
"html",
|
|
|
|
"promise"
|
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"html/html-extensions": [".html", ".html.raw", ".vue"],
|
|
|
|
"import/resolver": {
|
|
|
|
"webpack": {
|
|
|
|
"config": "./config/webpack.config.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"filenames/match-regex": [2, "^[a-z0-9_]+$"],
|
2017-09-10 17:25:29 +05:30
|
|
|
"import/no-commonjs": "error",
|
2017-08-17 22:00:37 +05:30
|
|
|
"no-multiple-empty-lines": ["error", { "max": 1 }],
|
2017-09-10 17:25:29 +05:30
|
|
|
"promise/catch-or-return": "error",
|
|
|
|
"no-underscore-dangle": ["error", { "allow": ["__"]}]
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
}
|