Skip to content

Commit 3114d38

Browse files
committed
chore: update eslint config
1 parent abf890b commit 3114d38

12 files changed

Lines changed: 933 additions & 862 deletions

File tree

.eslintrc.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import nodeConfig from '@linters/eslint-config-node'
2+
import eslintConfigPrettier from 'eslint-config-prettier'
3+
4+
export default [
5+
...nodeConfig,
6+
eslintConfigPrettier,
7+
{
8+
rules: {
9+
'max-lines': 'off',
10+
},
11+
},
12+
{
13+
ignores: ['**/node_modules/**'],
14+
},
15+
]

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"@linters/commitlint-config": "^1.7.0",
1515
"@linters/eslint-config-node": "^1.10.0",
1616
"@linters/prettier-config": "^1.3.2",
17-
"eslint": "^8.56.0",
18-
"eslint-config-prettier": "^9.1.0",
17+
"eslint": "^9.39.2",
18+
"eslint-config-prettier": "^10.1.8",
1919
"husky": "4.2.3",
2020
"lerna": "4.0.0",
2121
"lint-staged": "^12.3.3",
22-
"prettier": "^3.1.1"
22+
"prettier": "^3.8.1"
2323
}
2424
}

packages/eslint-config-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@linters/eslint-config": "2.0.0",
19-
"eslint-plugin-n": "17.15.1",
19+
"eslint-plugin-n": "17.23.2",
2020
"eslint-plugin-security": "3.0.1"
2121
},
2222
"keywords": [

packages/eslint-config-node/yarn.lock

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# yarn lockfile v1
33

44

5-
"@eslint-community/eslint-utils@^4.1.2", "@eslint-community/eslint-utils@^4.4.1":
5+
"@eslint-community/eslint-utils@^4.1.2", "@eslint-community/eslint-utils@^4.5.0":
66
version "4.9.1"
77
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz#4e90af67bc51ddee6cdef5284edf572ec376b595"
88
integrity sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==
@@ -14,18 +14,6 @@
1414
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.12.2.tgz#bccdf615bcf7b6e8db830ec0b8d21c9a25de597b"
1515
integrity sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==
1616

17-
balanced-match@^1.0.0:
18-
version "1.0.2"
19-
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
20-
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
21-
22-
brace-expansion@^2.0.1:
23-
version "2.0.2"
24-
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.2.tgz#54fc53237a613d854c7bd37463aad17df87214e7"
25-
integrity sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==
26-
dependencies:
27-
balanced-match "^1.0.0"
28-
2917
enhanced-resolve@^5.17.1:
3018
version "5.18.4"
3119
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.18.4.tgz#c22d33055f3952035ce6a144ce092447c525f828"
@@ -50,19 +38,20 @@ eslint-plugin-es-x@^7.8.0:
5038
"@eslint-community/regexpp" "^4.11.0"
5139
eslint-compat-utils "^0.5.1"
5240

53-
eslint-plugin-n@17.15.1:
54-
version "17.15.1"
55-
resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.15.1.tgz#2129bbc7b11466c3bfec57876a15aadfad3a83f2"
56-
integrity sha512-KFw7x02hZZkBdbZEFQduRGH4VkIH4MW97ClsbAM4Y4E6KguBJWGfWG1P4HEIpZk2bkoWf0bojpnjNAhYQP8beA==
41+
eslint-plugin-n@17.23.2:
42+
version "17.23.2"
43+
resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.23.2.tgz#cd1be342b56771385028d8039d67f11fb9cca5f3"
44+
integrity sha512-RhWBeb7YVPmNa2eggvJooiuehdL76/bbfj/OJewyoGT80qn5PXdz8zMOTO6YHOsI7byPt7+Ighh/i/4a5/v7hw==
5745
dependencies:
58-
"@eslint-community/eslint-utils" "^4.4.1"
46+
"@eslint-community/eslint-utils" "^4.5.0"
5947
enhanced-resolve "^5.17.1"
6048
eslint-plugin-es-x "^7.8.0"
6149
get-tsconfig "^4.8.1"
6250
globals "^15.11.0"
51+
globrex "^0.1.2"
6352
ignore "^5.3.2"
64-
minimatch "^9.0.5"
6553
semver "^7.6.3"
54+
ts-declaration-location "^1.0.6"
6655

6756
eslint-plugin-security@3.0.1:
6857
version "3.0.1"
@@ -88,6 +77,11 @@ globals@^15.11.0:
8877
resolved "https://registry.yarnpkg.com/globals/-/globals-15.15.0.tgz#7c4761299d41c32b075715a4ce1ede7897ff72a8"
8978
integrity sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==
9079

80+
globrex@^0.1.2:
81+
version "0.1.2"
82+
resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098"
83+
integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==
84+
9185
graceful-fs@^4.2.4:
9286
version "4.2.11"
9387
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
@@ -98,17 +92,15 @@ ignore@^5.3.2:
9892
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5"
9993
integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==
10094

101-
minimatch@^9.0.5:
102-
version "9.0.5"
103-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
104-
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
105-
dependencies:
106-
brace-expansion "^2.0.1"
95+
picomatch@^4.0.2:
96+
version "4.0.3"
97+
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-4.0.3.tgz#796c76136d1eead715db1e7bad785dedd695a042"
98+
integrity sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==
10799

108100
regexp-tree@~0.1.1:
109-
version "0.1.24"
110-
resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.24.tgz#3d6fa238450a4d66e5bc9c4c14bb720e2196829d"
111-
integrity sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==
101+
version "0.1.27"
102+
resolved "https://registry.yarnpkg.com/regexp-tree/-/regexp-tree-0.1.27.tgz#2198f0ef54518ffa743fe74d983b56ffd631b6cd"
103+
integrity sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==
112104

113105
resolve-pkg-maps@^1.0.0:
114106
version "1.0.0"
@@ -131,3 +123,10 @@ tapable@^2.2.0:
131123
version "2.3.0"
132124
resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.3.0.tgz#7e3ea6d5ca31ba8e078b560f0d83ce9a14aa8be6"
133125
integrity sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==
126+
127+
ts-declaration-location@^1.0.6:
128+
version "1.0.7"
129+
resolved "https://registry.yarnpkg.com/ts-declaration-location/-/ts-declaration-location-1.0.7.tgz#d4068fe9975828b3b453b3ab112b4711d8267688"
130+
integrity sha512-EDyGAwH1gO0Ausm9gV6T2nUvBgXT5kGoCMJPllOaooZ+4VvJiKBdZE7wK18N1deEowhcUptS+5GXZK8U/fvpwA==
131+
dependencies:
132+
picomatch "^4.0.2"

packages/eslint-config-typescript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
},
1818
"dependencies": {
1919
"@linters/eslint-config": "2.0.0",
20-
"typescript-eslint": "8.20.0",
21-
"eslint-import-resolver-typescript": "3.7.0"
20+
"typescript-eslint": "8.53.0",
21+
"eslint-import-resolver-typescript": "4.4.4"
2222
},
2323
"keywords": [
2424
"eslint",

0 commit comments

Comments
 (0)