Skip to content

Commit

Permalink
chore(eslint-config): bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Jan 18, 2024
1 parent 7036d58 commit 332fe47
Show file tree
Hide file tree
Showing 4 changed files with 329 additions and 291 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
'plugin:import/recommended',
'plugin:sonar/recommended',
'plugin:sonarjs/recommended',
'plugin:security/recommended'
'plugin:security/recommended-legacy'
],
rules: {
'no-multiple-empty-lines': ['error', {max: 1}],
Expand Down
20 changes: 10 additions & 10 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
"access": "public"
},
"dependencies": {
"@babel/core": "^7.22.20",
"@babel/eslint-parser": "^7.22.15",
"@rushstack/eslint-patch": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint-config-next": "^13.5.2",
"@babel/core": "^7.23.7",
"@babel/eslint-parser": "^7.23.3",
"@rushstack/eslint-patch": "^1.7.0",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint-config-next": "^14.0.4",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-react-prefer-function-component": "^3.3.0",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-sonar": "^0.12.0",
"eslint-plugin-sonarjs": "^0.21.0",
"eslint-plugin-security": "^2.1.0",
"eslint-plugin-sonar": "^0.13.2",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-ssr-friendly": "^1.3.0"
}
}
12 changes: 5 additions & 7 deletions packages/eslint-config/ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,19 @@ require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:import/typescript'
],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{argsIgnorePattern: '^_', varsIgnorePattern: '^_'}
],
'@typescript-eslint/explicit-function-return-type': 'off'
]
},
overrides: [
{
files: ['*.ts', '*.mts', '*.cts', '*.tsx'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:import/typescript'
],
rules: {
'prefer-destructuring': 'off',
'@typescript-eslint/prefer-destructuring': [
Expand Down
Loading

0 comments on commit 332fe47

Please sign in to comment.