BetterDiscordApp-v2/.eslintrc

43 lines
982 B
Plaintext
Raw Permalink Normal View History

2018-08-15 08:01:47 +02:00
{
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"browser": true,
"node": true
},
"plugins": [
"vue"
],
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
],
"rules": {
"no-unused-vars": "off",
"no-console": "off",
"no-empty": "off",
"quotes": [
"error",
"single",
{ "allowTemplateLiterals": true }
],
"prefer-template": "warn",
"no-return-await": "error",
2018-08-15 08:10:11 +02:00
"indent": [ "warn", 4 ],
2018-08-15 08:01:47 +02:00
"no-lonely-if": "error",
"no-multiple-empty-lines": [
"warn",
{ "max": 1 }
],
2018-08-15 08:10:11 +02:00
"no-tabs": "warn",
"no-trailing-spaces": "warn",
"no-unneeded-ternary": "warn",
2018-08-15 08:01:47 +02:00
"no-useless-constructor": "warn",
"no-var": "error",
2018-08-15 08:10:11 +02:00
"prefer-const": "error",
"no-else-return": "error"
2018-08-15 08:01:47 +02:00
}
}