Skip to content

Commit

Permalink
chore: updated eslint config + bumped dependencies [skip-release]
Browse files Browse the repository at this point in the history
  • Loading branch information
freb97 committed Aug 15, 2024
1 parent 8d8b49f commit 36647a8
Show file tree
Hide file tree
Showing 18 changed files with 5,214 additions and 5,143 deletions.
52 changes: 0 additions & 52 deletions .eslintrc.cjs

This file was deleted.

34 changes: 34 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import antfu from '@antfu/eslint-config';

export default antfu(
{
vue: true,
typescript: true,
},
{
files: ['**/*.vue'],
rules: {
'style/indent': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-setup-props-destructure': 'off',
'vue/no-multiple-template-root': 'off',
'vue/html-indent': ['warn', 4],
'vue/script-indent': ['warn', 4, {
baseIndent: 1,
}],
},
},
{
files: ['**/*.ts'],
rules: {
'style/indent': ['warn', 4],
},
},
{
rules: {
'style/semi': ['warn', 'always'],
'antfu/top-level-function': 'off',
'antfu/if-newline': 'off',
},
},
);
Loading

0 comments on commit 36647a8

Please sign in to comment.