Skip to content

Commit

Permalink
new eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
fdewas-aneo committed Apr 19, 2024
1 parent 599ece4 commit 7862f92
Show file tree
Hide file tree
Showing 10 changed files with 8,487 additions and 6,775 deletions.
4 changes: 0 additions & 4 deletions .docs/.eslintignore

This file was deleted.

19 changes: 0 additions & 19 deletions .docs/.eslintrc

This file was deleted.

19 changes: 19 additions & 0 deletions .docs/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { createConfigForNuxt } from '@nuxt/eslint-config/flat'

export default createConfigForNuxt({
features: {
typescript: true
}
}).prepend({
rules: {
'vue/max-attributes-per-line': 'off',
'vue/no-multiple-template-root': 'off',
'vue/no-restricted-syntax': 'error'
},
ignores: [
'dist',
'node_modules',
'.output',
'.nuxt'
]
})
6 changes: 3 additions & 3 deletions .docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"nuxt": "^3.6.5"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"@nuxt/eslint-config": "^0.3.8",
"case-police": "^0.6.1",
"eslint": "^8.47.0",
"markdownlint-cli": "^0.35.0"
"eslint": "^9.0.0",
"markdownlint-cli": "^0.34.0"
}
}
Loading

0 comments on commit 7862f92

Please sign in to comment.