Skip to content

Commit 96671e9

Browse files
committed
chore: merge eslint ignore file
1 parent 8e6a1d0 commit 96671e9

File tree

4 files changed

+64
-62
lines changed

4 files changed

+64
-62
lines changed

.eslintignore

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

.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
module.exports = {
22
root: true,
33
extends: [require.resolve('./lib/eslint')],
4+
ignorePatterns: [
5+
'node_modules'.at,
6+
'lib',
7+
'!.prettierrc.js',
8+
'!.eslintrc.js',
9+
'!.stylelintrc.js',
10+
],
411
}

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
},
1919
"license": "MIT",
2020
"author": "LeoKu <[email protected]> (https://leoku.top)",
21+
"type": "commonjs",
2122
"main": "lib/index.js",
2223
"files": [
2324
"lib"
@@ -27,7 +28,7 @@
2728
"build": "tsc --build tsconfig.json",
2829
"deps": "yarn upgrade-interactive --latest",
2930
"lint": "yarn lint:es",
30-
"lint:es": "eslint --ignore-path \"./.eslintignore\" \"./**/*.{js,jsx,ts,tsx}\"",
31+
"lint:es": "eslint \"./**/*.{js,jsx,ts,tsx}\"",
3132
"prepublishOnly": "yarn build",
3233
"test": "yarn build && cd \"./examples/green-wall\" && yarn lint"
3334
},
@@ -39,8 +40,8 @@
3940
"dependencies": {
4041
"@babel/core": "^7.19.3",
4142
"@babel/eslint-parser": "^7.19.1",
42-
"@typescript-eslint/eslint-plugin": "^5.40.1",
43-
"@typescript-eslint/parser": "^5.40.1",
43+
"@typescript-eslint/eslint-plugin": "^5.41.0",
44+
"@typescript-eslint/parser": "^5.41.0",
4445
"eslint": "^8.26.0",
4546
"eslint-config-prettier": "^8.5.0",
4647
"eslint-import-resolver-typescript": "^3.5.2",
@@ -60,7 +61,7 @@
6061
"stylelint-scss": "^4.3.0"
6162
},
6263
"devDependencies": {
63-
"@types/node": "^18.11.4",
64+
"@types/node": "^18.11.7",
6465
"cz-conventional-changelog": "3.3.0",
6566
"rimraf": "^3.0.2",
6667
"typescript": "4.8.4"

yarn.lock

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -682,10 +682,10 @@
682682
resolved "https://registry.npmmirror.com/@types/node/-/node-17.0.23.tgz#3b41a6e643589ac6442bdbd7a4a3ded62f33f7da"
683683
integrity sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw==
684684

685-
"@types/node@^18.11.4":
686-
version "18.11.4"
687-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.4.tgz#7017a52e18dfaad32f55eebd539993014441949c"
688-
integrity sha512-BxcJpBu8D3kv/GZkx/gSMz6VnTJREBj/4lbzYOQueUOELkt8WrO6zAcSPmp9uRPEW/d+lUO8QK0W2xnS1hEU0A==
685+
"@types/node@^18.11.7":
686+
version "18.11.7"
687+
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.7.tgz#8ccef136f240770c1379d50100796a6952f01f94"
688+
integrity sha512-LhFTglglr63mNXUSRYD8A+ZAIu5sFqNJ4Y2fPuY7UlrySJH87rRRlhtVmMHplmfk5WkoJGmDjE9oiTfyX94CpQ==
689689

690690
"@types/normalize-package-data@^2.4.0":
691691
version "2.4.1"
@@ -723,86 +723,86 @@
723723
"@types/unist" "*"
724724
"@types/vfile-message" "*"
725725

726-
"@typescript-eslint/eslint-plugin@^5.40.1":
727-
version "5.40.1"
728-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.40.1.tgz#3203a6ff396b1194083faaa6e5110c401201d7d5"
729-
integrity sha512-FsWboKkWdytGiXT5O1/R9j37YgcjO8MKHSUmWnIEjVaz0krHkplPnYi7mwdb+5+cs0toFNQb0HIrN7zONdIEWg==
726+
"@typescript-eslint/eslint-plugin@^5.41.0":
727+
version "5.41.0"
728+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.41.0.tgz#f8eeb1c6bb2549f795f3ba71aec3b38d1ab6b1e1"
729+
integrity sha512-DXUS22Y57/LAFSg3x7Vi6RNAuLpTXwxB9S2nIA7msBb/Zt8p7XqMwdpdc1IU7CkOQUPgAqR5fWvxuKCbneKGmA==
730730
dependencies:
731-
"@typescript-eslint/scope-manager" "5.40.1"
732-
"@typescript-eslint/type-utils" "5.40.1"
733-
"@typescript-eslint/utils" "5.40.1"
731+
"@typescript-eslint/scope-manager" "5.41.0"
732+
"@typescript-eslint/type-utils" "5.41.0"
733+
"@typescript-eslint/utils" "5.41.0"
734734
debug "^4.3.4"
735735
ignore "^5.2.0"
736736
regexpp "^3.2.0"
737737
semver "^7.3.7"
738738
tsutils "^3.21.0"
739739

740-
"@typescript-eslint/parser@^5.40.1":
741-
version "5.40.1"
742-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.40.1.tgz#e7f8295dd8154d0d37d661ddd8e2f0ecfdee28dd"
743-
integrity sha512-IK6x55va5w4YvXd4b3VrXQPldV9vQTxi5ov+g4pMANsXPTXOcfjx08CRR1Dfrcc51syPtXHF5bgLlMHYFrvQtg==
740+
"@typescript-eslint/parser@^5.41.0":
741+
version "5.41.0"
742+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.41.0.tgz#0414a6405007e463dc527b459af1f19430382d67"
743+
integrity sha512-HQVfix4+RL5YRWZboMD1pUfFN8MpRH4laziWkkAzyO1fvNOY/uinZcvo3QiFJVS/siNHupV8E5+xSwQZrl6PZA==
744744
dependencies:
745-
"@typescript-eslint/scope-manager" "5.40.1"
746-
"@typescript-eslint/types" "5.40.1"
747-
"@typescript-eslint/typescript-estree" "5.40.1"
745+
"@typescript-eslint/scope-manager" "5.41.0"
746+
"@typescript-eslint/types" "5.41.0"
747+
"@typescript-eslint/typescript-estree" "5.41.0"
748748
debug "^4.3.4"
749749

750-
"@typescript-eslint/scope-manager@5.40.1":
751-
version "5.40.1"
752-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.40.1.tgz#a7a5197dfd234622a2421ea590ee0ccc02e18dfe"
753-
integrity sha512-jkn4xsJiUQucI16OLCXrLRXDZ3afKhOIqXs4R3O+M00hdQLKR58WuyXPZZjhKLFCEP2g+TXdBRtLQ33UfAdRUg==
750+
"@typescript-eslint/scope-manager@5.41.0":
751+
version "5.41.0"
752+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.41.0.tgz#28e3a41d626288d0628be14cf9de8d49fc30fadf"
753+
integrity sha512-xOxPJCnuktUkY2xoEZBKXO5DBCugFzjrVndKdUnyQr3+9aDWZReKq9MhaoVnbL+maVwWJu/N0SEtrtEUNb62QQ==
754754
dependencies:
755-
"@typescript-eslint/types" "5.40.1"
756-
"@typescript-eslint/visitor-keys" "5.40.1"
755+
"@typescript-eslint/types" "5.41.0"
756+
"@typescript-eslint/visitor-keys" "5.41.0"
757757

758-
"@typescript-eslint/type-utils@5.40.1":
759-
version "5.40.1"
760-
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.40.1.tgz#091e4ce3bebbdb68f4980bae9dee2e4e1725f601"
761-
integrity sha512-DLAs+AHQOe6n5LRraXiv27IYPhleF0ldEmx6yBqBgBLaNRKTkffhV1RPsjoJBhVup2zHxfaRtan8/YRBgYhU9Q==
758+
"@typescript-eslint/type-utils@5.41.0":
759+
version "5.41.0"
760+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.41.0.tgz#2371601171e9f26a4e6da918a7913f7266890cdf"
761+
integrity sha512-L30HNvIG6A1Q0R58e4hu4h+fZqaO909UcnnPbwKiN6Rc3BUEx6ez2wgN7aC0cBfcAjZfwkzE+E2PQQ9nEuoqfA==
762762
dependencies:
763-
"@typescript-eslint/typescript-estree" "5.40.1"
764-
"@typescript-eslint/utils" "5.40.1"
763+
"@typescript-eslint/typescript-estree" "5.41.0"
764+
"@typescript-eslint/utils" "5.41.0"
765765
debug "^4.3.4"
766766
tsutils "^3.21.0"
767767

768-
"@typescript-eslint/types@5.40.1":
769-
version "5.40.1"
770-
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.40.1.tgz#de37f4f64de731ee454bb2085d71030aa832f749"
771-
integrity sha512-Icg9kiuVJSwdzSQvtdGspOlWNjVDnF3qVIKXdJ103o36yRprdl3Ge5cABQx+csx960nuMF21v8qvO31v9t3OHw==
768+
"@typescript-eslint/types@5.41.0":
769+
version "5.41.0"
770+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.41.0.tgz#6800abebc4e6abaf24cdf220fb4ce28f4ab09a85"
771+
integrity sha512-5BejraMXMC+2UjefDvrH0Fo/eLwZRV6859SXRg+FgbhA0R0l6lDqDGAQYhKbXhPN2ofk2kY5sgGyLNL907UXpA==
772772

773-
"@typescript-eslint/typescript-estree@5.40.1":
774-
version "5.40.1"
775-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.40.1.tgz#9a7d25492f02c69882ce5e0cd1857b0c55645d72"
776-
integrity sha512-5QTP/nW5+60jBcEPfXy/EZL01qrl9GZtbgDZtDPlfW5zj/zjNrdI2B5zMUHmOsfvOr2cWqwVdWjobCiHcedmQA==
773+
"@typescript-eslint/typescript-estree@5.41.0":
774+
version "5.41.0"
775+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.41.0.tgz#bf5c6b3138adbdc73ba4871d060ae12c59366c61"
776+
integrity sha512-SlzFYRwFSvswzDSQ/zPkIWcHv8O5y42YUskko9c4ki+fV6HATsTODUPbRbcGDFYP86gaJL5xohUEytvyNNcXWg==
777777
dependencies:
778-
"@typescript-eslint/types" "5.40.1"
779-
"@typescript-eslint/visitor-keys" "5.40.1"
778+
"@typescript-eslint/types" "5.41.0"
779+
"@typescript-eslint/visitor-keys" "5.41.0"
780780
debug "^4.3.4"
781781
globby "^11.1.0"
782782
is-glob "^4.0.3"
783783
semver "^7.3.7"
784784
tsutils "^3.21.0"
785785

786-
"@typescript-eslint/utils@5.40.1":
787-
version "5.40.1"
788-
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.40.1.tgz#3204fb73a559d3b7bab7dc9d3c44487c2734a9ca"
789-
integrity sha512-a2TAVScoX9fjryNrW6BZRnreDUszxqm9eQ9Esv8n5nXApMW0zeANUYlwh/DED04SC/ifuBvXgZpIK5xeJHQ3aw==
786+
"@typescript-eslint/utils@5.41.0":
787+
version "5.41.0"
788+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.41.0.tgz#f41ae5883994a249d00b2ce69f4188f3a23fa0f9"
789+
integrity sha512-QlvfwaN9jaMga9EBazQ+5DDx/4sAdqDkcs05AsQHMaopluVCUyu1bTRUVKzXbgjDlrRAQrYVoi/sXJ9fmG+KLQ==
790790
dependencies:
791791
"@types/json-schema" "^7.0.9"
792792
"@types/semver" "^7.3.12"
793-
"@typescript-eslint/scope-manager" "5.40.1"
794-
"@typescript-eslint/types" "5.40.1"
795-
"@typescript-eslint/typescript-estree" "5.40.1"
793+
"@typescript-eslint/scope-manager" "5.41.0"
794+
"@typescript-eslint/types" "5.41.0"
795+
"@typescript-eslint/typescript-estree" "5.41.0"
796796
eslint-scope "^5.1.1"
797797
eslint-utils "^3.0.0"
798798
semver "^7.3.7"
799799

800-
"@typescript-eslint/visitor-keys@5.40.1":
801-
version "5.40.1"
802-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.40.1.tgz#f3d2bf5af192f4432b84cec6fdcb387193518754"
803-
integrity sha512-A2DGmeZ+FMja0geX5rww+DpvILpwo1OsiQs0M+joPWJYsiEFBLsH0y1oFymPNul6Z5okSmHpP4ivkc2N0Cgfkw==
800+
"@typescript-eslint/visitor-keys@5.41.0":
801+
version "5.41.0"
802+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.41.0.tgz#d3510712bc07d5540160ed3c0f8f213b73e3bcd9"
803+
integrity sha512-vilqeHj267v8uzzakbm13HkPMl7cbYpKVjgFWZPIOHIJHZtinvypUhJ5xBXfWYg4eFKqztbMMpOgFpT9Gfx4fw==
804804
dependencies:
805-
"@typescript-eslint/types" "5.40.1"
805+
"@typescript-eslint/types" "5.41.0"
806806
eslint-visitor-keys "^3.3.0"
807807

808808
acorn-jsx@^5.3.2:

0 commit comments

Comments
 (0)