Skip to content

Commit

Permalink
feat: added exception to rule vue/attribute-hyphenation
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed May 16, 2024
1 parent 02f362f commit b70f2fa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}

Check failure on line 2 in .vscode/settings.json

View workflow job for this annotation

GitHub Actions / Lint (16)

Newline required at end of file but not found
7 changes: 6 additions & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import { tresLintConfig } from './src/index'

export default tresLintConfig()
export default tresLintConfig({
files: ['**/*.vue'],
rules: {
'vue/attribute-hyphenation': 'off' // To allow camelCase attributes in cases that require, like material-uniforms, shadowMapSizes, etc.

Check failure on line 6 in eslint.config.ts

View workflow job for this annotation

GitHub Actions / Lint (16)

Missing trailing comma
},
})

0 comments on commit b70f2fa

Please sign in to comment.