Skip to content

Commit

Permalink
style: harden lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Mar 14, 2024
1 parent 850f2b8 commit 1ee0513
Show file tree
Hide file tree
Showing 3 changed files with 324 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ module.exports = {
parser: '@typescript-eslint/parser',
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
'@typescript-eslint/no-extra-semi': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
'prefer-const': 'warn'
'prefer-const': 'error',
'@typescript-eslint/no-extra-semi': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/no-explicit-any': 'warn'
}
}
]
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"3d model"
],
"devDependencies": {
"@babel/eslint-parser": "^7.23.10",
"@ownclouders/extension-sdk": "0.0.5-alpha.2",
"@ownclouders/prettier-config": "^0.0.1",
"@types/three": "^0.161.2",
Expand Down
Loading

0 comments on commit 1ee0513

Please sign in to comment.