Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6c0f76e229 | ||
|
564db7d3c4 | ||
|
4167a78419 | ||
|
37a4d762c3 | ||
|
f62730648a | ||
|
229b6cb188 | ||
|
7a2d63cf3a | ||
|
2cf571c341 | ||
|
4b57638f82 | ||
|
d8f05127c6 | ||
|
f466ac5446 |
@@ -15,48 +15,48 @@
|
||||
"up": "taze major -I"
|
||||
},
|
||||
"dependencies": {
|
||||
"@unocss/reset": "^0.49.1",
|
||||
"@vueuse/core": "^9.11.1",
|
||||
"@vueuse/head": "^1.0.23",
|
||||
"@unocss/reset": "^0.50.1",
|
||||
"@vueuse/core": "^9.13.0",
|
||||
"@vueuse/head": "^1.1.0",
|
||||
"nprogress": "^0.2.0",
|
||||
"pinia": "^2.0.29",
|
||||
"vue": "^3.2.45",
|
||||
"pinia": "^2.0.32",
|
||||
"vue": "^3.2.47",
|
||||
"vue-demi": "^0.13.11",
|
||||
"vue-i18n": "^9.2.2",
|
||||
"vue-router": "^4.1.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.34.1",
|
||||
"@iconify-json/carbon": "^1.1.14",
|
||||
"@antfu/eslint-config": "^0.35.2",
|
||||
"@iconify-json/carbon": "^1.1.16",
|
||||
"@intlify/vite-plugin-vue-i18n": "^7.0.0",
|
||||
"@types/markdown-it-link-attributes": "^3.0.1",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@vitejs/plugin-vue": "^4.0.0",
|
||||
"@vue/test-utils": "^2.2.8",
|
||||
"@vue/test-utils": "^2.3.0",
|
||||
"critters": "^0.0.16",
|
||||
"cross-env": "^7.0.3",
|
||||
"cypress": "^12.4.1",
|
||||
"eslint": "^8.33.0",
|
||||
"cypress": "^12.6.0",
|
||||
"eslint": "^8.34.0",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"https-localhost": "^4.7.1",
|
||||
"markdown-it-link-attributes": "^4.0.1",
|
||||
"markdown-it-shiki": "^0.7.2",
|
||||
"pnpm": "^7.26.1",
|
||||
"shiki": "^0.13.0",
|
||||
"markdown-it-shiki": "^0.8.0",
|
||||
"pnpm": "^7.27.1",
|
||||
"shiki": "^0.14.1",
|
||||
"taze": "^0.8.5",
|
||||
"typescript": "^4.9.4",
|
||||
"unocss": "^0.49.1",
|
||||
"unplugin-auto-import": "^0.12.2",
|
||||
"unplugin-vue-components": "^0.23.0",
|
||||
"vite": "^4.0.4",
|
||||
"typescript": "^4.9.5",
|
||||
"unocss": "^0.50.1",
|
||||
"unplugin-auto-import": "^0.15.0",
|
||||
"unplugin-vue-components": "^0.24.0",
|
||||
"vite": "^4.1.4",
|
||||
"vite-plugin-inspect": "^0.7.15",
|
||||
"vite-plugin-pages": "^0.28.0",
|
||||
"vite-plugin-pwa": "^0.14.1",
|
||||
"vite-plugin-vue-layouts": "^0.7.0",
|
||||
"vite-plugin-vue-markdown": "^0.22.2",
|
||||
"vite-plugin-pwa": "^0.14.4",
|
||||
"vite-plugin-vue-layouts": "^0.8.0",
|
||||
"vite-plugin-vue-markdown": "^0.22.4",
|
||||
"vite-ssg": "^0.22.1",
|
||||
"vite-ssg-sitemap": "^0.4.3",
|
||||
"vitest": "^0.28.3",
|
||||
"vue-tsc": "^1.0.24"
|
||||
"vitest": "^0.28.5",
|
||||
"vue-tsc": "^1.1.7"
|
||||
}
|
||||
}
|
||||
|
12
package.json
12
package.json
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-monorepo",
|
||||
"version": "0.34.2",
|
||||
"version": "0.35.3",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@7.1.0",
|
||||
"packageManager": "pnpm@7.27.1",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"test": "pnpm -r run test",
|
||||
"prepare": "pnpm -r run stub",
|
||||
"release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm -r publish --access public"
|
||||
"release": "bumpp -r && pnpm -r publish"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "*",
|
||||
"bumpp": "^8.2.1",
|
||||
"eslint": "^8.33.0",
|
||||
"bumpp": "^9.0.0",
|
||||
"eslint": "^8.34.0",
|
||||
"eslint-plugin-antfu": "workspace:*",
|
||||
"rimraf": "^4.1.2",
|
||||
"typescript": "^4.9.4"
|
||||
"typescript": "^4.9.5"
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config",
|
||||
"version": "0.34.2",
|
||||
"version": "0.35.3",
|
||||
"description": "Anthony's ESLint config",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
@@ -17,8 +17,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-vue": "workspace:*",
|
||||
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
||||
"@typescript-eslint/parser": "^5.49.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.53.0",
|
||||
"@typescript-eslint/parser": "^5.53.0",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
"eslint-plugin-html": "^7.1.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
@@ -27,11 +27,11 @@
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-unicorn": "^45.0.2",
|
||||
"eslint-plugin-vue": "^9.9.0",
|
||||
"eslint-plugin-yml": "^1.4.0",
|
||||
"eslint-plugin-yml": "^1.5.0",
|
||||
"jsonc-eslint-parser": "^2.1.0",
|
||||
"yaml-eslint-parser": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.33.0"
|
||||
"eslint": "^8.34.0"
|
||||
}
|
||||
}
|
||||
|
@@ -28,6 +28,17 @@ module.exports = {
|
||||
'pnpm-lock.yaml',
|
||||
'yarn.lock',
|
||||
'__snapshots__',
|
||||
// ignore for in lint-staged
|
||||
'*.css',
|
||||
'*.png',
|
||||
'*.ico',
|
||||
'*.toml',
|
||||
'*.patch',
|
||||
'*.txt',
|
||||
'*.crt',
|
||||
'*.key',
|
||||
'Dockerfile',
|
||||
// force include
|
||||
'!.github',
|
||||
'!.vitepress',
|
||||
'!.vscode',
|
||||
@@ -37,6 +48,7 @@ module.exports = {
|
||||
'unicorn',
|
||||
'antfu',
|
||||
'no-only-tests',
|
||||
'unused-imports',
|
||||
],
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
@@ -177,6 +189,8 @@ module.exports = {
|
||||
'@typescript-eslint/comma-dangle': 'off',
|
||||
'@typescript-eslint/consistent-type-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',
|
||||
@@ -199,7 +213,13 @@ module.exports = {
|
||||
'curly': ['error', 'multi-or-nest', 'consistent'],
|
||||
'quotes': ['error', 'single'],
|
||||
'quote-props': ['error', 'consistent-as-needed'],
|
||||
'no-unused-vars': 'warn',
|
||||
|
||||
'unused-imports/no-unused-imports': 'error',
|
||||
'unused-imports/no-unused-vars': [
|
||||
'warn',
|
||||
{ vars: 'all', varsIgnorePattern: '^_', args: 'after-used', argsIgnorePattern: '^_' },
|
||||
],
|
||||
|
||||
'no-param-reassign': 'off',
|
||||
'array-bracket-spacing': ['error', 'never'],
|
||||
'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-basic",
|
||||
"version": "0.34.2",
|
||||
"version": "0.35.3",
|
||||
"description": "",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
@@ -29,11 +29,12 @@
|
||||
"eslint-plugin-no-only-tests": "^3.1.0",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-unicorn": "^45.0.2",
|
||||
"eslint-plugin-yml": "^1.4.0",
|
||||
"eslint-plugin-unused-imports": "^2.0.0",
|
||||
"eslint-plugin-yml": "^1.5.0",
|
||||
"jsonc-eslint-parser": "^2.1.0",
|
||||
"yaml-eslint-parser": "^1.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.33.0"
|
||||
"eslint": "^8.34.0"
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eslint-plugin-antfu",
|
||||
"version": "0.34.2",
|
||||
"version": "0.35.3",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antfu/eslint-config",
|
||||
"main": "./dist/index.cjs",
|
||||
@@ -16,11 +16,11 @@
|
||||
"prepublishOnly": "nr build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@typescript-eslint/utils": "^5.49.0"
|
||||
"@typescript-eslint/utils": "^5.53.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.11.18",
|
||||
"unbuild": "^1.1.1",
|
||||
"vitest": "^0.28.3"
|
||||
"@types/node": "^18.14.1",
|
||||
"unbuild": "^1.1.2",
|
||||
"vitest": "^0.28.5"
|
||||
}
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@ export default createEslintRule<Options, MessageIds>({
|
||||
meta: {
|
||||
type: 'suggestion',
|
||||
docs: {
|
||||
description: 'Newline after if',
|
||||
description: 'Inline type import',
|
||||
recommended: 'error',
|
||||
},
|
||||
fixable: 'code',
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-react",
|
||||
"version": "0.34.2",
|
||||
"version": "0.35.3",
|
||||
"description": "",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
@@ -20,12 +20,12 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-ts": "workspace:*",
|
||||
"eslint-plugin-react": "^7.32.1",
|
||||
"eslint-plugin-react": "^7.32.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.33.0",
|
||||
"eslint": "^8.34.0",
|
||||
"react": "^18.2.0",
|
||||
"typescript": "^4.9.4"
|
||||
"typescript": "^4.9.5"
|
||||
}
|
||||
}
|
||||
|
@@ -113,8 +113,6 @@ module.exports = {
|
||||
],
|
||||
offsetTernaryExpressions: true,
|
||||
}],
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
||||
'no-redeclare': 'off',
|
||||
'@typescript-eslint/no-redeclare': 'error',
|
||||
'no-use-before-define': 'off',
|
||||
@@ -173,5 +171,7 @@ module.exports = {
|
||||
'@typescript-eslint/ban-types': 'off',
|
||||
'@typescript-eslint/no-namespace': 'off',
|
||||
'@typescript-eslint/triple-slash-reference': 'off',
|
||||
// handled by unused-imports/no-unused-imports
|
||||
'@typescript-eslint/no-unused-vars': 'off',
|
||||
},
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-ts",
|
||||
"version": "0.34.2",
|
||||
"version": "0.35.3",
|
||||
"description": "",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
@@ -18,11 +18,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-basic": "workspace:*",
|
||||
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
||||
"@typescript-eslint/parser": "^5.49.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.53.0",
|
||||
"@typescript-eslint/parser": "^5.53.0",
|
||||
"eslint-plugin-jest": "^27.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.33.0"
|
||||
"eslint": "^8.34.0"
|
||||
}
|
||||
}
|
||||
|
@@ -35,6 +35,7 @@ module.exports = {
|
||||
'vue/require-default-prop': 'off',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
'vue/prefer-import-from-vue': 'off',
|
||||
'vue/no-v-text-v-html-on-component': 'off',
|
||||
|
||||
// reactivity transform
|
||||
'vue/no-setup-props-destructure': 'off',
|
||||
@@ -57,7 +58,6 @@ module.exports = {
|
||||
}],
|
||||
'vue/no-restricted-v-bind': ['error', '/^v-/'],
|
||||
'vue/no-useless-v-bind': 'error',
|
||||
'vue/no-v-text-v-html-on-component': 'error',
|
||||
'vue/padding-line-between-blocks': ['error', 'always'],
|
||||
'vue/prefer-separate-static-class': 'error',
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-vue",
|
||||
"version": "0.34.2",
|
||||
"version": "0.35.3",
|
||||
"description": "",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
@@ -21,6 +21,6 @@
|
||||
"local-pkg": "^0.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.33.0"
|
||||
"eslint": "^8.34.0"
|
||||
}
|
||||
}
|
||||
|
850
pnpm-lock.yaml
generated
850
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user