Skip to content

Commit

Permalink
updoate config
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Dec 4, 2024
1 parent aa1c51f commit e215eb3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
13 changes: 8 additions & 5 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
'eslint:recommended',
'plugin:markdown/recommended',
'plugin:import/errors',
'plugin:eslint-comments/recommended',
'plugin:@eslint-community/eslint-comments/recommended',
'plugin:unicorn/recommended',
'plugin:promise/recommended',
'plugin:prettier/recommended',
Expand Down Expand Up @@ -348,8 +348,8 @@ module.exports = {
],
rules: {
'@typescript-eslint/ban-types': 'off',
'eslint-comments/disable-enable-pair': 'off',
'eslint-comments/no-unlimited-disable': 'off',
'@eslint-community/eslint-comments/disable-enable-pair': 'off',
'@eslint-community/eslint-comments/no-unlimited-disable': 'off',
'prefer-rest-params': 'off',
'prefer-spread': 'off',
'sort-keys ': 'off',
Expand Down Expand Up @@ -478,8 +478,11 @@ module.exports = {
'default-case': 'off',
'dot-notation': 'off',
eqeqeq: ['error', 'smart'],
'eslint-comments/disable-enable-pair': ['error', {allowWholeFile: true}],
'eslint-comments/no-unused-disable': 'error',
'@eslint-community/eslint-comments/disable-enable-pair': [
'error',
{allowWholeFile: true},
],
'@eslint-community/eslint-comments/no-unused-disable': 'error',
'func-names': 'off',
'func-style': ['off', 'declaration'],
'global-require': 'off',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"@babel/preset-typescript": "^7.0.0",
"@babel/register": "^7.0.0",
"@crowdin/cli": "^4.0.0",
"@eslint-community/eslint-plugin-eslint-comments": "^4.0.0",
"@jest/globals": "workspace:*",
"@jest/test-utils": "workspace:*",
"@lerna-lite/cli": "^3.0.0",
Expand All @@ -33,7 +34,6 @@
"eslint": "^8.8.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.2.5",
"@eslint-community/eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-jest": "^28.0.0",
"eslint-plugin-jsdoc": "^50.0.0",
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2837,15 +2837,15 @@ __metadata:
languageName: node
linkType: hard

"@eslint-community/eslint-plugin-eslint-comments@npm:^3.2.0":
version: 3.2.1
resolution: "@eslint-community/eslint-plugin-eslint-comments@npm:3.2.1"
"@eslint-community/eslint-plugin-eslint-comments@npm:^4.0.0":
version: 4.4.1
resolution: "@eslint-community/eslint-plugin-eslint-comments@npm:4.4.1"
dependencies:
escape-string-regexp: ^1.0.5
escape-string-regexp: ^4.0.0
ignore: ^5.2.4
peerDependencies:
eslint: ">=4.19.1"
checksum: 10d2162d0821a08ba0d133b8d97758011bab8db42387754d12a1d9fafee93c7249e5c557a8910929f90488b7d0465d5264f04447351368831919c2c8854ad406
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
checksum: 32edb04a698c1b0f2d157c57d2c931811e804f9e5df4ffdcfa52334d7f170cf22a0d5531e008efcf21e22a36474e68036882c5bc25076fedc5755e3bdfe7b8e8
languageName: node
linkType: hard

Expand Down Expand Up @@ -3266,7 +3266,7 @@ __metadata:
"@babel/preset-typescript": ^7.0.0
"@babel/register": ^7.0.0
"@crowdin/cli": ^4.0.0
"@eslint-community/eslint-plugin-eslint-comments": ^3.2.0
"@eslint-community/eslint-plugin-eslint-comments": ^4.0.0
"@jest/globals": "workspace:*"
"@jest/test-utils": "workspace:*"
"@lerna-lite/cli": ^3.0.0
Expand Down

0 comments on commit e215eb3

Please sign in to comment.