-
Notifications
You must be signed in to change notification settings - Fork 25
/
.eslintrc.cjs
39 lines (38 loc) · 1.46 KB
/
.eslintrc.cjs
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
const path = require('node:path');
module.exports = {
root: true,
extends: ['plugin:vue-kuzzle/default'],
parserOptions: {
project: path.join(__dirname, 'tsconfig.json'),
},
ignorePatterns: ['dist/*'],
rules: {
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/prefer-optional-chain': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/restrict-plus-operands': 'off',
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/require-array-sort-compare': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-dynamic-delete': 'off',
'vue/multi-word-component-names': 'off',
'vue/block-lang': 'off',
'vue/no-mutating-props': 'off',
'array-callback-return': 'off',
'vue/require-default-prop': 'off',
'vue/order-in-components': 'off',
'vue/no-useless-template-attributes': 'off',
'vue/no-reserved-component-names': 'off',
'vue/require-prop-types': 'off',
'vue/no-lone-template': 'off',
'default-case-last': 'warn',
'import/order': 'warn'
},
};