gitlab-org--gitlab-foss/.eslintrc

43 lines
845 B
Text
Raw Normal View History

{
"env": {
"jquery": true,
"browser": true,
"es6": true
},
"extends": [
"airbnb-base",
"plugin:vue/recommended"
],
"globals": {
"__webpack_public_path__": true,
"_": false,
"gl": false,
"gon": false,
"localStorage": false
2016-11-22 13:56:03 -05:00
},
"parserOptions": {
"parser": "babel-eslint"
},
2016-11-22 13:56:03 -05:00
"plugins": [
"filenames",
2017-04-06 18:03:23 -04:00
"import",
"html",
"promise"
2016-11-22 13:56:03 -05:00
],
"settings": {
2018-01-04 14:07:28 -05:00
"html/html-extensions": [".html", ".html.raw"],
"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_]+$"],
"import/no-commonjs": "error",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"promise/catch-or-return": "error",
2017-08-04 08:14:54 -04:00
"no-underscore-dangle": ["error", { "allow": ["__"]}]
}
}