fluentd-ui/.eslintrc.js
Kenji Okimoto a769b7437b
Treat some variables as global
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-11-05 11:17:04 +09:00

47 lines
680 B
JavaScript

module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"globals": {
"$": true,
"Rails": true,
"Vue": true,
"relativeUrlRoot": true
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"no-console": [
"off"
],
"no-unused-vars": [
"off", {
"argsIgnorePattern": "^_"
}
]
}
};