Skip to content

Commit 868066c

Browse files
committed
Merge branch 'release/3.1.6'
2 parents cfddfbf + 245e43a commit 868066c

File tree

8 files changed

+3125
-2318
lines changed

8 files changed

+3125
-2318
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
2+
charset = utf-8
3+
indent_size = 2
4+
indent_style = space
5+
insert_final_newline = true
6+
trim_trailing_whitespace = true

.eslintrc.cjs

Lines changed: 0 additions & 25 deletions
This file was deleted.

eslint.config.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import pluginVue from 'eslint-plugin-vue'
2+
import vueTsEslintConfig from '@vue/eslint-config-typescript'
3+
import pluginVitest from '@vitest/eslint-plugin'
4+
5+
export default [
6+
{
7+
name: 'app/files-to-lint',
8+
files: ['**/*.{ts,mts,tsx,vue}'],
9+
},
10+
11+
{
12+
name: 'app/files-to-ignore',
13+
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'],
14+
},
15+
16+
...pluginVue.configs['flat/essential'],
17+
...vueTsEslintConfig(),
18+
19+
{
20+
...pluginVitest.configs.recommended,
21+
files: [
22+
'tests/**/*.{j,t}s?(x)',
23+
'src/**/__tests__/*'
24+
],
25+
rules: {
26+
'@typescript-eslint/no-unused-expressions': 'off'
27+
},
28+
},
29+
30+
]

0 commit comments

Comments
 (0)