forked from nuxt-modules/i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.js
43 lines (39 loc) · 952 Bytes
/
eslint.config.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
import globals from 'globals'
import tseslint from 'typescript-eslint'
import eslintConfigPrettier from 'eslint-config-prettier'
export default [
// Ignores
{
ignores: [
'.eslintcache/**',
'dist/**',
'playground/**',
'specs/fixtures/**',
'specs/utils/**',
'test/fixtures/**',
'coverage/**',
'src/runtime/templates/**',
'docs/.output/**',
'docs/.nuxt/**',
'docs/components/content/Logo.vue',
'docs/components/content/VoltaBoard.vue',
'docs/components/AppHeader.vue',
'docs/components/AppHeaderNavigation.vue'
]
},
// Globals
{
files: ['**/*.js', '**/*.ts', '**/*.vue', '**/*.json'],
languageOptions: {
globals: globals.node,
parserOptions: { sourceType: 'module' }
}
},
// Extends
...tseslint.configs.recommended,
eslintConfigPrettier,
// Rules
{
rules: { '@typescript-eslint/ban-ts-comment': 'off' }
}
]