-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.eslintrc.js
50 lines (50 loc) · 1.34 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
module.exports = {
extends: ["@meteorjs/eslint-config-meteor", "plugin:vue/recommended"],
rules: {
"object-shorthand": "off",
"react/destructuring-assignment": "off",
"vue/no-unused-vars": "off",
"import/no-unresolved": "off",
"no-confusing-arrow": "off",
"no-param-reassign": "off",
"import/no-absolute-path": "off",
"import/prefer-default-export": "off",
"import/no-cycle": "off",
"no-undef": "off",
"prefer-destructuring": "off",
"no-underscore-dangle": "off",
quotes: ["error", "double"],
"comma-dangle": ["error", "never"],
"no-plusplus": [2, { allowForLoopAfterthoughts: true }],
"object-curly-newline": ["error", { consistent: true }],
"vue/max-attributes-per-line": ["error", {
singleline: 8,
multiline: {
max: 8,
allowFirstLine: true
}
}],
"vue/no-v-html": "off",
"vue/no-mutating-props": "off",
"vue/no-template-shadow": "off",
"vue/v-slot-style": "off",
"vue/valid-v-slot": ["error", {
allowModifiers: true
}]
},
overrides: [
{
files: ["*.test.js", "*.spec.js"],
rules: {
"no-unused-expressions": "off"
}
}
],
parser: "vue-eslint-parser",
parserOptions: {
parser: "babel-eslint",
sourceType: "module",
allowImportExportEverywhere: true,
codeFrame: false
}
};