Compare commits

...

13 Commits

Author SHA1 Message Date
a275b5bd94 chore: release v0.40.11 2023-08-15 19:42:00 +08:00
15b1011230 chore: release v0.40.10 2023-08-15 19:40:53 +08:00
0ba93481db chore: release v0.40.9 2023-08-15 19:40:30 +08:00
1296d158c9 chore: release v0.40.8 2023-08-15 19:39:42 +08:00
8b98365ad0 chore: release v0.40.7 2023-08-15 19:39:00 +08:00
4d6dd79325 chore: release v0.40.6 2023-08-15 19:36:52 +08:00
bc0a817dd1 chore: release v0.40.5 2023-08-15 19:36:08 +08:00
6bf6d00b90 chore: release v0.40.4 2023-08-15 19:34:09 +08:00
13796c251c chore: release v0.40.3 2023-08-15 19:31:18 +08:00
f80fdbe613 去掉 markdown lint 2023-08-15 19:28:35 +08:00
toryz
1ae6ec8527
fix(basic): ignore vitepress cache files (#233) 2023-08-11 20:12:47 +02:00
Anthony Fu
c22a36bbec chore: release v0.40.2 2023-08-07 15:57:18 +02:00
Anthony Fu
71e8f0c3b2 chore: upgrade eslint-plugin-i 2023-08-07 15:57:14 +02:00
9 changed files with 29 additions and 177 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-monorepo",
"version": "0.40.1",
"name": "@taoyaal/eslint-config-monorepo",
"version": "0.40.11",
"private": true,
"packageManager": "pnpm@8.6.12",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",

View File

@ -11,7 +11,6 @@ module.exports = {
'plugin:eslint-comments/recommended',
'plugin:jsonc/recommended-with-jsonc',
'plugin:yml/standard',
'plugin:markdown/recommended',
],
ignorePatterns: [
'*.min.*',
@ -43,7 +42,7 @@ module.exports = {
'!.vitepress',
'!.vscode',
// force exclude
'.vitepress/cache',
'**/.vitepress/cache',
],
plugins: [
'html',
@ -182,32 +181,6 @@ module.exports = {
'no-only-tests/no-only-tests': 'error',
},
},
{
// Code blocks in markdown file
files: ['**/*.md/*.*'],
rules: {
'@typescript-eslint/no-redeclare': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/comma-dangle': 'off',
'@typescript-eslint/consistent-type-imports': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-require-imports': 'off',
'import/no-unresolved': 'off',
'unused-imports/no-unused-imports': 'off',
'unused-imports/no-unused-vars': 'off',
'no-alert': 'off',
'no-console': 'off',
'no-restricted-imports': 'off',
'no-undef': 'off',
'no-unused-expressions': 'off',
'no-unused-vars': 'off',
'antfu/no-cjs-exports': 'off',
'antfu/no-ts-export-equal': 'off',
'n/prefer-global/process': 'off',
},
},
],
rules: {
// import

View File

@ -1,10 +1,10 @@
{
"name": "@antfu/eslint-config-basic",
"version": "0.40.1",
"version": "0.40.11",
"description": "",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"homepage": "https://github.com/antfu/eslint-config",
"homepage": "https://git.taoya.art/taolin/eslint-config.git",
"keywords": [
"eslint-config"
],
@ -22,9 +22,8 @@
"eslint-plugin-antfu": "workspace:*",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "npm:eslint-plugin-i@2.28.0",
"eslint-plugin-import": "npm:eslint-plugin-i@2.28.0-2",
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-promise": "^6.1.1",

View File

@ -1,10 +1,10 @@
{
"name": "@antfu/eslint-config-react",
"version": "0.40.1",
"version": "0.40.11",
"description": "",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"homepage": "https://github.com/antfu/eslint-config",
"homepage": "https://git.taoya.art/taolin/eslint-config.git",
"keywords": [
"eslint-config"
],

View File

@ -1,10 +1,10 @@
{
"name": "@antfu/eslint-config-ts",
"version": "0.40.1",
"version": "0.40.11",
"description": "",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"homepage": "https://github.com/antfu/eslint-config",
"homepage": "https://git.taoya.art/taolin/eslint-config.git",
"keywords": [
"eslint-config"
],

View File

@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-vue",
"version": "0.40.1",
"version": "0.40.11",
"description": "",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",

View File

@ -1,10 +1,10 @@
{
"name": "@antfu/eslint-config",
"version": "0.40.1",
"name": "@taoyaal/eslint-config",
"version": "0.40.11",
"description": "Anthony's ESLint config",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"homepage": "https://github.com/antfu/eslint-config",
"homepage": "https://git.taoya.art/taolin/eslint-config.git",
"keywords": [
"eslint-config"
],
@ -21,7 +21,7 @@
"@typescript-eslint/parser": "^6.2.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "npm:eslint-plugin-i@2.28.0",
"eslint-plugin-import": "npm:eslint-plugin-i@2.28.0-2",
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-promise": "^6.1.1",

View File

@ -1,8 +1,8 @@
{
"name": "eslint-plugin-antfu",
"version": "0.40.1",
"version": "0.40.11",
"license": "MIT",
"homepage": "https://github.com/antfu/eslint-config",
"homepage": "https://git.taoya.art/taolin/eslint-config.git",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"files": [

View File

@ -45,8 +45,8 @@ importers:
specifier: ^7.1.0
version: 7.1.0
eslint-plugin-import:
specifier: npm:eslint-plugin-i@2.28.0
version: /eslint-plugin-i@2.28.0(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)
specifier: npm:eslint-plugin-i@2.28.0-2
version: /eslint-plugin-i@2.28.0-2(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)
eslint-plugin-jsonc:
specifier: ^2.9.0
version: 2.9.0(eslint@8.46.0)
@ -88,14 +88,11 @@ importers:
specifier: ^7.1.0
version: 7.1.0
eslint-plugin-import:
specifier: npm:eslint-plugin-i@2.28.0
version: /eslint-plugin-i@2.28.0(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)
specifier: npm:eslint-plugin-i@2.28.0-2
version: /eslint-plugin-i@2.28.0-2(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)
eslint-plugin-jsonc:
specifier: ^2.9.0
version: 2.9.0(eslint@8.46.0)
eslint-plugin-markdown:
specifier: ^3.0.1
version: 3.0.1(eslint@8.46.0)
eslint-plugin-n:
specifier: ^16.0.1
version: 16.0.1(eslint@8.46.0)
@ -199,7 +196,7 @@ importers:
version: 20.4.8
'@typescript-eslint/rule-tester':
specifier: ^6.2.1
version: 6.2.1(@eslint/eslintrc@2.1.0)(eslint@8.46.0)(typescript@5.1.6)
version: 6.2.1(@eslint/eslintrc@2.1.1)(eslint@8.46.0)(typescript@5.1.6)
unbuild:
specifier: ^1.2.1
version: 1.2.1
@ -250,7 +247,7 @@ packages:
debug: 4.3.4
gensync: 1.0.0-beta.2
json5: 2.2.3
semver: 6.3.0
semver: 6.3.1
transitivePeerDependencies:
- supports-color
dev: true
@ -276,7 +273,7 @@ packages:
'@babel/helper-validator-option': 7.21.0
browserslist: 4.21.5
lru-cache: 5.1.1
semver: 6.3.0
semver: 6.3.1
dev: true
/@babel/helper-environment-visitor@7.18.9:
@ -635,23 +632,6 @@ packages:
resolution: {integrity: sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
/@eslint/eslintrc@2.1.0:
resolution: {integrity: sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
ajv: 6.12.6
debug: 4.3.4
espree: 9.6.0
globals: 13.20.0
ignore: 5.2.4
import-fresh: 3.3.0
js-yaml: 4.1.0
minimatch: 3.1.2
strip-json-comments: 3.1.1
transitivePeerDependencies:
- supports-color
dev: true
/@eslint/eslintrc@2.1.1:
resolution: {integrity: sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@ -889,12 +869,6 @@ packages:
/@types/json-schema@7.0.12:
resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==}
/@types/mdast@3.0.11:
resolution: {integrity: sha512-Y/uImid8aAwrEA24/1tcRZwpxX3pIFTSilcNDKSPn+Y2iDywSEachzRuvgAYYLR3wpGXAsMbv5lvKLDZLeYPAw==}
dependencies:
'@types/unist': 2.0.6
dev: false
/@types/node@20.4.8:
resolution: {integrity: sha512-0mHckf6D2DiIAzh8fM8f3HQCvMKDpK94YQ0DSVkfWTG9BZleYIWudw9cJxX8oCk9bM+vAkDyujDV6dmKHbvQpg==}
dev: true
@ -914,10 +888,6 @@ packages:
/@types/semver@7.5.0:
resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==}
/@types/unist@2.0.6:
resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==}
dev: false
/@typescript-eslint/eslint-plugin@6.2.1(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)(typescript@5.0.2):
resolution: {integrity: sha512-iZVM/ALid9kO0+I81pnp1xmYiFyqibAHzrqX4q5YvvVEyJqY+e6rfTXSCsc2jUxGNqJqTfFSSij/NFkZBiBzLw==}
engines: {node: ^16.0.0 || >=18.0.0}
@ -1020,14 +990,14 @@ packages:
- supports-color
dev: false
/@typescript-eslint/rule-tester@6.2.1(@eslint/eslintrc@2.1.0)(eslint@8.46.0)(typescript@5.1.6):
/@typescript-eslint/rule-tester@6.2.1(@eslint/eslintrc@2.1.1)(eslint@8.46.0)(typescript@5.1.6):
resolution: {integrity: sha512-coy6MNuLvqn/rj4dT83b452IzpQEdWJka2GNjivQmneoM/creUiAC54b4AaBu/cBKHc7UdkuhY2axPa4xDau8g==}
engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies:
'@eslint/eslintrc': '>=2'
eslint: '>=8'
dependencies:
'@eslint/eslintrc': 2.1.0
'@eslint/eslintrc': 2.1.1
'@typescript-eslint/typescript-estree': 6.2.1(typescript@5.1.6)
'@typescript-eslint/utils': 6.2.1(eslint@8.46.0)(typescript@5.1.6)
ajv: 6.12.6
@ -1549,18 +1519,6 @@ packages:
engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
dev: true
/character-entities-legacy@1.1.4:
resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==}
dev: false
/character-entities@1.2.4:
resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==}
dev: false
/character-reference-invalid@1.1.4:
resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==}
dev: false
/check-error@1.0.2:
resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==}
dev: true
@ -1959,8 +1917,8 @@ packages:
htmlparser2: 8.0.2
dev: false
/eslint-plugin-i@2.28.0(@typescript-eslint/parser@6.2.1)(eslint@8.46.0):
resolution: {integrity: sha512-dFK+YXLVmMfWZoQI7+qty+vCESIH91BT9p8ctvQXegwcq8TzGAf80JzPmwRdirfczcQOs51ikrJwAEmNqttC0g==}
/eslint-plugin-i@2.28.0-2(@typescript-eslint/parser@6.2.1)(eslint@8.46.0):
resolution: {integrity: sha512-z48kG4qmE4TmiLcxbmvxMT5ycwvPkXaWW0XpU1L768uZaTbiDbxsHMEdV24JHlOR1xDsPpKW39BfP/pRdYIwFA==}
engines: {node: '>=12'}
peerDependencies:
eslint: ^7.2.0 || ^8
@ -2015,18 +1973,6 @@ packages:
natural-compare: 1.4.0
dev: false
/eslint-plugin-markdown@3.0.1(eslint@8.46.0):
resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
eslint: 8.46.0
mdast-util-from-markdown: 0.8.5
transitivePeerDependencies:
- supports-color
dev: false
/eslint-plugin-n@16.0.1(eslint@8.46.0):
resolution: {integrity: sha512-CDmHegJN0OF3L5cz5tATH84RPQm9kG+Yx39wIqIwPR2C0uhBGMWfbbOtetR83PQjjidA5aXMu+LEFw1jaSwvTA==}
engines: {node: '>=16.0.0'}
@ -2264,6 +2210,7 @@ packages:
acorn: 8.9.0
acorn-jsx: 5.3.2(acorn@8.9.0)
eslint-visitor-keys: 3.4.1
dev: false
/espree@9.6.1:
resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
@ -2677,17 +2624,6 @@ packages:
side-channel: 1.0.4
dev: false
/is-alphabetical@1.0.4:
resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==}
dev: false
/is-alphanumerical@1.0.4:
resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==}
dependencies:
is-alphabetical: 1.0.4
is-decimal: 1.0.4
dev: false
/is-array-buffer@3.0.2:
resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==}
dependencies:
@ -2744,10 +2680,6 @@ packages:
has-tostringtag: 1.0.0
dev: false
/is-decimal@1.0.4:
resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==}
dev: false
/is-extglob@2.1.1:
resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
engines: {node: '>=0.10.0'}
@ -2763,10 +2695,6 @@ packages:
dependencies:
is-extglob: 2.1.1
/is-hexadecimal@1.0.4:
resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==}
dev: false
/is-module@1.0.0:
resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==}
dev: true
@ -3021,35 +2949,10 @@ packages:
'@jridgewell/sourcemap-codec': 1.4.15
dev: true
/mdast-util-from-markdown@0.8.5:
resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==}
dependencies:
'@types/mdast': 3.0.11
mdast-util-to-string: 2.0.0
micromark: 2.11.4
parse-entities: 2.0.0
unist-util-stringify-position: 2.0.3
transitivePeerDependencies:
- supports-color
dev: false
/mdast-util-to-string@2.0.0:
resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==}
dev: false
/merge2@1.4.1:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
/micromark@2.11.4:
resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==}
dependencies:
debug: 4.3.4
parse-entities: 2.0.0
transitivePeerDependencies:
- supports-color
dev: false
/micromatch@4.0.5:
resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==}
engines: {node: '>=8.6'}
@ -3328,17 +3231,6 @@ packages:
dependencies:
callsites: 3.1.0
/parse-entities@2.0.0:
resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==}
dependencies:
character-entities: 1.2.4
character-entities-legacy: 1.1.4
character-reference-invalid: 1.1.4
is-alphanumerical: 1.0.4
is-decimal: 1.0.4
is-hexadecimal: 1.0.4
dev: false
/parse-json@5.2.0:
resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==}
engines: {node: '>=8'}
@ -3645,15 +3537,9 @@ packages:
hasBin: true
dev: false
/semver@6.3.0:
resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==}
hasBin: true
dev: true
/semver@6.3.1:
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
hasBin: true
dev: false
/semver@7.3.8:
resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==}
@ -4019,12 +3905,6 @@ packages:
- supports-color
dev: true
/unist-util-stringify-position@2.0.3:
resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==}
dependencies:
'@types/unist': 2.0.6
dev: false
/universalify@2.0.0:
resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==}
engines: {node: '>= 10.0.0'}