Skip to content

Commit

Permalink
fix(eslint): disable buggy <style> rules
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisHaftmann committed Jul 4, 2024
1 parent 8bf5a7a commit abd2c7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ export function eslintConfig({ nuxt = false, tsconfigPath, unicorn = false, conf
},

vue: {
sfcBlocks: {
blocks: {
styles: false
}
},
overrides: {
// force <script lang="ts">
'vue/block-lang': ['error', { script: { lang: 'ts' } }],
Expand Down

0 comments on commit abd2c7c

Please sign in to comment.