Skip to content

Commit

Permalink
chore(deps): updated eslint to v9 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile authored Nov 8, 2024
1 parent 648fa7f commit 589cda4
Show file tree
Hide file tree
Showing 8 changed files with 3,422 additions and 7,913 deletions.
19 changes: 0 additions & 19 deletions .eslintrc.cjs

This file was deleted.

29 changes: 29 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import pluginVue from 'eslint-plugin-vue'
import vueTsEslintConfig from '@vue/eslint-config-typescript'
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'
import storybook from 'eslint-plugin-storybook'

export default [
{
name: 'app/files-to-lint',
files: ['**/*.{ts,mts,tsx,vue}']
},
{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**', '**/storybook-static/**']
},
...pluginVue.configs['flat/recommended'],
{
rules: {
'vue/component-name-in-template-casing': ['error']
}
},
...vueTsEslintConfig(),
{
rules: {
'@typescript-eslint/no-explicit-any': ['warn']
}
},
...storybook.configs['flat/recommended'],
skipFormatting
]
Loading

0 comments on commit 589cda4

Please sign in to comment.