Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
761a0ce4ee | ||
|
a9d330cac3 | ||
|
540786d482 | ||
|
b876b7b1d9 | ||
|
d463449db4 | ||
|
37d30e9e7d |
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config-monorepo",
|
"name": "@antfu/eslint-config-monorepo",
|
||||||
"version": "0.23.1",
|
"version": "0.24.1",
|
||||||
"packageManager": "pnpm@7.0.0",
|
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"packageManager": "pnpm@7.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -13,8 +13,8 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "*",
|
"@antfu/eslint-config": "*",
|
||||||
"bumpp": "^7.1.1",
|
"bumpp": "^7.1.1",
|
||||||
"eslint": "^8.14.0",
|
"eslint": "^8.16.0",
|
||||||
"eslint-plugin-antfu": "workspace:*",
|
"eslint-plugin-antfu": "workspace:*",
|
||||||
"typescript": "^4.6.4"
|
"typescript": "^4.7.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config",
|
"name": "@antfu/eslint-config",
|
||||||
"version": "0.23.1",
|
"version": "0.24.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antfu/eslint-config-react": "workspace:*",
|
"@antfu/eslint-config-react": "workspace:*",
|
||||||
"@antfu/eslint-config-vue": "workspace:*",
|
"@antfu/eslint-config-vue": "workspace:*",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
||||||
"@typescript-eslint/parser": "^5.22.0",
|
"@typescript-eslint/parser": "^5.26.0",
|
||||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||||
"eslint-plugin-html": "^6.2.0",
|
"eslint-plugin-html": "^6.2.0",
|
||||||
"eslint-plugin-import": "^2.26.0",
|
"eslint-plugin-import": "^2.26.0",
|
||||||
@@ -24,13 +24,13 @@
|
|||||||
"eslint-plugin-n": "^15.2.0",
|
"eslint-plugin-n": "^15.2.0",
|
||||||
"eslint-plugin-promise": "^6.0.0",
|
"eslint-plugin-promise": "^6.0.0",
|
||||||
"eslint-plugin-unicorn": "^42.0.0",
|
"eslint-plugin-unicorn": "^42.0.0",
|
||||||
"eslint-plugin-vue": "^8.7.1",
|
"eslint-plugin-vue": "^9.0.1",
|
||||||
"eslint-plugin-yml": "^0.14.0",
|
"eslint-plugin-yml": "^1.0.0",
|
||||||
"jsonc-eslint-parser": "^2.1.0",
|
"jsonc-eslint-parser": "^2.1.0",
|
||||||
"yaml-eslint-parser": "^0.5.0"
|
"yaml-eslint-parser": "^1.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^8.14.0"
|
"eslint": "^8.16.0"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
@@ -223,6 +223,7 @@ module.exports = {
|
|||||||
avoidQuotes: true,
|
avoidQuotes: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
'prefer-exponentiation-operator': 'error',
|
||||||
'prefer-rest-params': 'error',
|
'prefer-rest-params': 'error',
|
||||||
'prefer-spread': 'error',
|
'prefer-spread': 'error',
|
||||||
'prefer-template': 'error',
|
'prefer-template': 'error',
|
||||||
@@ -265,15 +266,13 @@ module.exports = {
|
|||||||
// Uppercase regex escapes
|
// Uppercase regex escapes
|
||||||
'unicorn/escape-case': 'error',
|
'unicorn/escape-case': 'error',
|
||||||
// Array.isArray instead of instanceof
|
// Array.isArray instead of instanceof
|
||||||
'unicorn/no-array-instanceof': 'error',
|
'unicorn/no-instanceof-array': 'error',
|
||||||
// Prevent deprecated `new Buffer()`
|
// Prevent deprecated `new Buffer()`
|
||||||
'unicorn/no-new-buffer': 'error',
|
'unicorn/no-new-buffer': 'error',
|
||||||
// Keep regex literals safe!
|
// Keep regex literals safe!
|
||||||
'unicorn/no-unsafe-regex': 'off',
|
'unicorn/no-unsafe-regex': 'off',
|
||||||
// Lowercase number formatting for octal, hex, binary (0x1'error' instead of 0X1'error')
|
// Lowercase number formatting for octal, hex, binary (0x1'error' instead of 0X1'error')
|
||||||
'unicorn/number-literal-case': 'error',
|
'unicorn/number-literal-case': 'error',
|
||||||
// ** instead of Math.pow()
|
|
||||||
'unicorn/prefer-exponentiation-operator': 'error',
|
|
||||||
// includes over indexOf when checking for existence
|
// includes over indexOf when checking for existence
|
||||||
'unicorn/prefer-includes': 'error',
|
'unicorn/prefer-includes': 'error',
|
||||||
// String methods startsWith/endsWith instead of more complicated stuff
|
// String methods startsWith/endsWith instead of more complicated stuff
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config-basic",
|
"name": "@antfu/eslint-config-basic",
|
||||||
"version": "0.23.1",
|
"version": "0.24.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -25,12 +25,12 @@
|
|||||||
"eslint-plugin-n": "^15.2.0",
|
"eslint-plugin-n": "^15.2.0",
|
||||||
"eslint-plugin-promise": "^6.0.0",
|
"eslint-plugin-promise": "^6.0.0",
|
||||||
"eslint-plugin-unicorn": "^42.0.0",
|
"eslint-plugin-unicorn": "^42.0.0",
|
||||||
"eslint-plugin-yml": "^0.14.0",
|
"eslint-plugin-yml": "^1.0.0",
|
||||||
"jsonc-eslint-parser": "^2.1.0",
|
"jsonc-eslint-parser": "^2.1.0",
|
||||||
"yaml-eslint-parser": "^0.5.0"
|
"yaml-eslint-parser": "^1.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^8.14.0"
|
"eslint": "^8.16.0"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "eslint-plugin-antfu",
|
"name": "eslint-plugin-antfu",
|
||||||
"version": "0.23.1",
|
"version": "0.24.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./dist/index.cjs",
|
"main": "./dist/index.cjs",
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
@@ -22,10 +22,10 @@
|
|||||||
"prepublishOnly": "nr build"
|
"prepublishOnly": "nr build"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/utils": "^5.22.0"
|
"@typescript-eslint/utils": "^5.26.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"unbuild": "^0.7.4",
|
"unbuild": "^0.7.4",
|
||||||
"vitest": "^0.9.4"
|
"vitest": "^0.12.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config-react",
|
"name": "@antfu/eslint-config-react",
|
||||||
"version": "0.23.1",
|
"version": "0.24.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -20,11 +20,11 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antfu/eslint-config-ts": "workspace:*",
|
"@antfu/eslint-config-ts": "workspace:*",
|
||||||
"eslint-plugin-react": "^7.29.4"
|
"eslint-plugin-react": "^7.30.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^8.14.0",
|
"eslint": "^8.16.0",
|
||||||
"react": "^18.1.0",
|
"react": "^18.1.0",
|
||||||
"typescript": "^4.6.4"
|
"typescript": "^4.7.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config-ts",
|
"name": "@antfu/eslint-config-ts",
|
||||||
"version": "0.23.1",
|
"version": "0.24.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -18,10 +18,10 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antfu/eslint-config-basic": "workspace:*",
|
"@antfu/eslint-config-basic": "workspace:*",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
||||||
"@typescript-eslint/parser": "^5.22.0"
|
"@typescript-eslint/parser": "^5.26.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^8.14.0"
|
"eslint": "^8.16.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -23,6 +23,7 @@ module.exports = {
|
|||||||
'vue/require-prop-types': 'off',
|
'vue/require-prop-types': 'off',
|
||||||
'vue/require-default-prop': 'off',
|
'vue/require-default-prop': 'off',
|
||||||
'vue/multi-word-component-names': 'off',
|
'vue/multi-word-component-names': 'off',
|
||||||
|
'vue/prefer-import-from-vue': 'off',
|
||||||
|
|
||||||
// reactivity transform
|
// reactivity transform
|
||||||
'vue/no-setup-props-destructure': 'off',
|
'vue/no-setup-props-destructure': 'off',
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config-vue",
|
"name": "@antfu/eslint-config-vue",
|
||||||
"version": "0.23.1",
|
"version": "0.24.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -17,9 +17,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antfu/eslint-config-ts": "workspace:*",
|
"@antfu/eslint-config-ts": "workspace:*",
|
||||||
"eslint-plugin-vue": "^8.7.1"
|
"eslint-plugin-vue": "^9.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^8.14.0"
|
"eslint": "^8.16.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
641
pnpm-lock.yaml
generated
641
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user