-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
37 lines (37 loc) · 1.07 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
module.exports = {
extends: [
'eslint:recommended',
'plugin:jest-dom/recommended',
'plugin:testing-library/vue',
'plugin:vue/vue3-recommended',
'raine',
'prettier',
],
parserOptions: {
parser: 'babel-eslint',
},
plugins: ['jest-dom', 'testing-library', 'prettier'],
rules: {
'prettier/prettier': [2],
'vue/component-name-in-template-casing': [2, 'PascalCase'],
'vue/attribute-hyphenation': 0,
'vue/attributes-order': 0,
'vue/html-closing-bracket-newline': 0,
'vue/max-attributes-per-line': 0,
'vue/multiline-html-element-content-newline': 0,
'vue/no-lone-template': 0,
'vue/require-default-prop': 0,
'vue/require-prop-types': 0,
'vue/singleline-html-element-content-newline': 0,
// use fork to allow MemberExpressions
// https://github.com/jfmengels/eslint-plugin-fp/pull/54
'fp/no-mutating-methods': [
2,
{
allowedObjects: ['$router', 'router', '_'],
},
],
'testing-library/render-result-naming-convention': 0,
'testing-library/prefer-screen-queries': 0,
},
}