traxxx/.eslintrc

30 lines
813 B
Plaintext
Raw Normal View History

2019-03-02 22:59:15 +00:00
{
"root": true,
"extends": ["airbnb-base", "plugin:vue/recommended"],
2019-03-02 22:59:15 +00:00
"parserOptions": {
2019-12-09 04:00:49 +00:00
"parser": "babel-eslint",
"ecmaVersion": 2019,
"sourceType": "module"
2019-03-02 22:59:15 +00:00
},
"rules": {
"no-unused-vars": ["error", {"argsIgnorePattern": "^_"}],
"no-console": 0,
"indent": ["error", 4],
"max-len": [2, {
"code": 300,
"tabWidth": 4,
"ignoreUrls": true
}],
"vue/html-indent": ["error", 4],
"vue/multiline-html-element-content-newline": 0,
"vue/singleline-html-element-content-newline": 0,
"no-param-reassign": ["error", {
"props": true,
"ignorePropertyModificationsFor": ["state", "acc"]
}]
},
"globals": {
"CONFIG": true
2019-03-02 22:59:15 +00:00
}
}