Skip to content

Commit

Permalink
chore: update eslint and related dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Sep 18, 2023
1 parent f2f2239 commit f0351b2
Show file tree
Hide file tree
Showing 8 changed files with 140 additions and 152 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@commitlint/config-conventional": "17.7.0",
"@rotki/eslint-config": "*",
"bumpp": "9.2.0",
"eslint": "8.47.0",
"eslint": "8.49.0",
"husky": "8.0.3",
"lint-staged": "14.0.1",
"rimraf": "5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"@rotki/eslint-config-vue": "workspace:*"
},
"devDependencies": {
"eslint": "8.47.0"
"eslint": "8.49.0"
}
}
4 changes: 2 additions & 2 deletions packages/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"eslint-plugin-markdown": "3.0.1",
"eslint-plugin-unicorn": "48.0.1",
"eslint-plugin-unused-imports": "3.0.0",
"eslint-plugin-yml": "1.8.0"
"eslint-plugin-yml": "1.9.0"
},
"devDependencies": {
"eslint": "8.47.0"
"eslint": "8.49.0"
}
}
6 changes: 3 additions & 3 deletions packages/prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"eslint-config-prettier": "9.0.0",
"eslint-define-config": "1.23.0",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-yml": "1.8.0",
"prettier": "3.0.2"
"eslint-plugin-yml": "1.9.0",
"prettier": "3.0.3"
},
"devDependencies": {
"eslint": "8.47.0"
"eslint": "8.49.0"
}
}
14 changes: 7 additions & 7 deletions packages/typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ module.exports = defineConfig({
format: ['PascalCase'],
},
],
'@typescript-eslint/consistent-type-assertions': [
'error',
{
assertionStyle: 'as',
objectLiteralTypeAssertions: 'allow',
},
],
},
},
],
Expand All @@ -124,13 +131,6 @@ module.exports = defineConfig({
'error',
{ fixStyle: 'inline-type-imports', disallowTypeAnnotations: false },
],
'@typescript-eslint/consistent-type-assertions': [
'error',
{
assertionStyle: 'as',
objectLiteralTypeAssertions: 'allow',
},
],
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
Expand Down
6 changes: 3 additions & 3 deletions packages/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
},
"dependencies": {
"@rotki/eslint-config-basic": "workspace:*",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"@typescript-eslint/eslint-plugin": "6.7.0",
"@typescript-eslint/parser": "6.7.0",
"eslint-define-config": "1.23.0",
"typescript": "5.2.2"
},
"devDependencies": {
"eslint": "8.47.0"
"eslint": "8.49.0"
}
}
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"local-pkg": "0.4.3"
},
"devDependencies": {
"eslint": "8.47.0",
"eslint": "8.49.0",
"vue": "2.7.14"
}
}
Loading

0 comments on commit f0351b2

Please sign in to comment.