feat: support eslint v8

This commit is contained in:
Anthony Fu 2021-10-16 21:49:55 +08:00
parent 3b079f9425
commit e9027d5e20
7 changed files with 487 additions and 347 deletions

View File

@ -11,8 +11,8 @@
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "*", "@antfu/eslint-config": "*",
"eslint": "^7.32.0", "eslint": "^8.0.1",
"lerna": "^4.0.0", "lerna": "^4.0.0",
"typescript": "^4.4.3" "typescript": "^4.4.4"
} }
} }

View File

@ -5,33 +5,33 @@
"keywords": [], "keywords": [],
"license": "MIT", "license": "MIT",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"main": "index.js",
"files": [ "files": [
"index.js" "index.js"
], ],
"main": "index.js",
"peerDependencies": {
"eslint": ">=7.4.0"
},
"dependencies": { "dependencies": {
"@antfu/eslint-config-react": "^0.9.0", "@antfu/eslint-config-react": "^0.9.0",
"@antfu/eslint-config-vue": "^0.9.0", "@antfu/eslint-config-vue": "^0.9.0",
"@typescript-eslint/eslint-plugin": "^4.31.0", "@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^4.31.0", "@typescript-eslint/parser": "^5.0.0",
"eslint-config-standard": "^16.0.3", "eslint-config-standard": "^16.0.3",
"eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^6.1.2", "eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.24.2", "eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsonc": "^1.6.0", "eslint-plugin-jsonc": "^1.7.0",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0", "eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unicorn": "^35.0.0", "eslint-plugin-unicorn": "^37.0.1",
"eslint-plugin-vue": "7.17.0", "eslint-plugin-vue": "7.19.1",
"eslint-plugin-yml": "^0.10.0", "eslint-plugin-yml": "^0.10.1",
"jsonc-eslint-parser": "^1.3.1", "jsonc-eslint-parser": "^1.4.1",
"yaml-eslint-parser": "^0.4.1" "yaml-eslint-parser": "^0.4.1"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.32.0" "eslint": "^8.0.1"
},
"peerDependencies": {
"eslint": ">=7.4.0"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -5,31 +5,31 @@
"keywords": [], "keywords": [],
"license": "MIT", "license": "MIT",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"main": "index.js",
"files": [ "files": [
"index.js" "index.js"
], ],
"main": "index.js",
"scripts": { "scripts": {
"lint": "eslint . --config=index.js" "lint": "eslint . --config=index.js"
}, },
"peerDependencies": {
"eslint": ">=7.4.0"
},
"dependencies": { "dependencies": {
"eslint-config-standard": "^16.0.3", "eslint-config-standard": "^16.0.3",
"eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^6.1.2", "eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.24.2", "eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsonc": "^1.6.0", "eslint-plugin-jsonc": "^1.7.0",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0", "eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unicorn": "^35.0.0", "eslint-plugin-unicorn": "^37.0.1",
"eslint-plugin-yml": "^0.10.0", "eslint-plugin-yml": "^0.10.1",
"jsonc-eslint-parser": "^1.3.1", "jsonc-eslint-parser": "^1.4.1",
"yaml-eslint-parser": "^0.4.1" "yaml-eslint-parser": "^0.4.1"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.32.0" "eslint": "^8.0.1"
},
"peerDependencies": {
"eslint": ">=7.4.0"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"

View File

@ -20,11 +20,11 @@
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-ts": "^0.9.0", "@antfu/eslint-config-ts": "^0.9.0",
"eslint-plugin-react": "^7.25.1" "eslint-plugin-react": "^7.26.1"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.32.0", "eslint": "^8.0.1",
"react": "^17.0.2", "react": "^17.0.2",
"typescript": "^4.4.2" "typescript": "^4.4.4"
} }
} }

View File

@ -18,10 +18,10 @@
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-basic": "^0.9.0", "@antfu/eslint-config-basic": "^0.9.0",
"@typescript-eslint/eslint-plugin": "^4.31.0", "@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^4.31.0" "@typescript-eslint/parser": "^5.0.0"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.32.0" "eslint": "^8.0.1"
} }
} }

View File

@ -17,9 +17,9 @@
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-ts": "^0.9.0", "@antfu/eslint-config-ts": "^0.9.0",
"eslint-plugin-vue": "7.17.0" "eslint-plugin-vue": "7.19.1"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.32.0" "eslint": "^8.0.1"
} }
} }

File diff suppressed because it is too large Load Diff