Skip to content

Commit 834d633

Browse files
committed
chore: dependency updates
Signed-off-by: Pedro Lamas <[email protected]>
1 parent cf89d32 commit 834d633

File tree

3 files changed

+185
-183
lines changed

3 files changed

+185
-183
lines changed

eslint.config.mjs

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import pluginVue from 'eslint-plugin-vue'
22
import * as pluginRegexp from 'eslint-plugin-regexp'
33
import neostandard from 'neostandard'
4-
import vueTsEslintConfig from '@vue/eslint-config-typescript'
4+
import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript'
55

6-
export default [
6+
export default defineConfigWithVueTs(
77
{
88
name: 'app/files-to-lint',
99
files: ['**/*.{ts,mts,tsx,vue}'],
@@ -16,10 +16,10 @@ export default [
1616
'docs/_site/**'
1717
]
1818
},
19-
...pluginVue.configs['flat/vue2-recommended'],
19+
pluginVue.configs['flat/vue2-recommended'],
2020
pluginRegexp.configs['flat/recommended'],
21-
...neostandard(),
22-
...vueTsEslintConfig(),
21+
neostandard(),
22+
vueTsConfigs.recommended,
2323
{
2424
rules: {
2525
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
@@ -32,4 +32,4 @@ export default [
3232
'@typescript-eslint/no-empty-object-type': 'off'
3333
}
3434
}
35-
]
35+
)

0 commit comments

Comments
 (0)