Skip to content

Commit

Permalink
Properly fix eslint and prettier package situation
Browse files Browse the repository at this point in the history
  • Loading branch information
StrangeRanger committed Jun 19, 2024
1 parent 97dc5af commit b39dde6
Show file tree
Hide file tree
Showing 3 changed files with 417 additions and 9 deletions.
29 changes: 24 additions & 5 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,32 @@
module.exports = {
root: true,
env: {
browser: true,
node: true
},
extends: ['@nuxtjs', 'plugin:nuxt/recommended', 'plugin:vue/recommended'],
plugins: ['vue', 'nuxt'],
extends: [
'@nuxtjs',
'plugin:@typescript-eslint/recommended',
'plugin:nuxt/recommended',
'prettier',
'plugin:prettier/recommended'
],
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2020,
sourceType: 'module'
},
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'nuxt/no-cjs-in-config': 'off',
'vue/multi-word-component-names': 'off' // Disable multi-word component names rule.
'prettier/prettier': [
'error',
{
semi: false,
tabWidth: 2,
singleQuote: true,
printWidth: 100,
trailingComma: 'none'
}
]
// Add any additional rules here
}
}
Loading

0 comments on commit b39dde6

Please sign in to comment.