-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.cjs
37 lines (34 loc) · 1.04 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
module.exports = {
// root: true,
// env: {
// browser: true,
// node: true,
// },
// parserOptions: {
// parser: '@typescript-eslint/parser',
// },
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:vue/vue3-strongly-recommended',
'@nuxtjs/eslint-config-typescript',
'plugin:tailwindcss/recommended',
'prettier',
'plugin:prettier-vue/recommended',
],
plugins: ['tailwindcss'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'@typescript-eslint/no-var-requires': 'off',
'no-unused-vars': 'off',
'no-undef': 'off',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-unused-vars': 'off',
'vue/script-setup-uses-vars': 'error',
'vue/multi-word-component-names': 'off',
// 'import/default': 'off',
'tailwindcss/no-custom-classname': 'off',
'tailwindcss/classnames-order': 'off',
'prettier-vue/prettier': 'error',
},
}