Skip to content

Commit

Permalink
fix: conflicted self closing rule
Browse files Browse the repository at this point in the history
closes #55
  • Loading branch information
sxzz committed Dec 24, 2023
1 parent f6e5164 commit 9c3593d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions eslint.config.js
Expand Up @@ -6,11 +6,14 @@ const { sxzz } = require('./src/index.ts')

// import { sxzz } from './dist/index.js'

export default sxzz([
{
files: ['src/**/*.ts'],
rules: {
'sort-keys/sort-keys-fix': 'error',
export default sxzz(
[
{
files: ['src/**/*.ts'],
rules: {
'sort-keys/sort-keys-fix': 'error',
},
},
},
])
],
{ vue: true },
)
2 changes: 1 addition & 1 deletion src/configs/vue.ts
Expand Up @@ -50,7 +50,7 @@ const vueCustomRules: Rules = {
html: {
component: 'always',
normal: 'always',
void: 'always',
void: 'any',
},
math: 'always',
svg: 'always',
Expand Down

0 comments on commit 9c3593d

Please sign in to comment.