-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
33 lines (32 loc) · 913 Bytes
/
.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
require('@rushstack/eslint-patch/modern-module-resolution');
module.exports = {
root: true,
extends: [
'@nuxtjs/eslint-config-typescript',
'plugin:vue/vue3-recommended',
'@vue/eslint-config-airbnb-with-typescript',
'prettier',
],
rules: {
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-ignore': 'allow-with-description' }],
'class-methods-use-this': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-multiple-template-root': 'off',
'import/prefer-default-export': 'off',
'import/extensions': 'off',
'import/no-relative-packages': 'off',
'import/no-extraneous-dependencies': 'off',
},
overrides: [
{
files: ['packages/frontend/cypress/integration/**.spec.{js,ts,jsx,tsx}'],
extends: ['plugin:cypress/recommended'],
},
{
files: ['commitlint.config.cjs'],
env: {
node: true,
},
},
],
};