Compare commits
	
		
			12 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | a0f388b4a9 | ||
|  | 00c3c6d1cd | ||
|  | fe73faf458 | ||
|  | b93f48f429 | ||
|  | 4d38bd0293 | ||
|  | b58283d3d6 | ||
|  | 151a6ef338 | ||
|  | fce5e8dc3a | ||
|  | 3486d0d6c0 | ||
|  | 40817389a1 | ||
|  | 79da8986db | ||
|  | 1c4260a937 | 
							
								
								
									
										16
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								README.md
									
									
									
									
									
								
							| @@ -6,8 +6,9 @@ | |||||||
| - Auto fix for formatting (aimed to be used standalone without Prettier) | - Auto fix for formatting (aimed to be used standalone without Prettier) | ||||||
| - Designed to work with TypeScript, Vue out-of-box | - Designed to work with TypeScript, Vue out-of-box | ||||||
| - Lint also for json, yaml, markdown | - Lint also for json, yaml, markdown | ||||||
| - Sorted imports, dangling commas for cleaner commit diff | - Sorted imports, dangling commas | ||||||
| - Reasonable defaults, best practices, only one-line of config | - Reasonable defaults, best practices, only one-line of config | ||||||
|  | - **Style principle**: Minimal for reading, stable for diff | ||||||
|  |  | ||||||
| ## Usage | ## Usage | ||||||
|  |  | ||||||
| @@ -54,6 +55,19 @@ Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?it | |||||||
| } | } | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  | ### TypeScript Aware Rules | ||||||
|  |  | ||||||
|  | Type aware rules are enabled when a `tsconfig.eslint.json` is found in the project root. If you want to enable it while have no `tsconfig.eslint.json` in the project root, you can change tsconfig name by modifying `ESLINT_TSCONFIG` env.  | ||||||
|  |  | ||||||
|  | ```js | ||||||
|  | // .eslintrc.js | ||||||
|  | process.env.ESLINT_TSCONFIG = 'tsconfig.json' | ||||||
|  |  | ||||||
|  | module.exports = { | ||||||
|  |   extends: '@antfu' | ||||||
|  | } | ||||||
|  | ``` | ||||||
|  |  | ||||||
| ## Extended Reading | ## Extended Reading | ||||||
|  |  | ||||||
| Learn more about the context - [Why I don't use Prettier](https://antfu.me/posts/why-not-prettier). | Learn more about the context - [Why I don't use Prettier](https://antfu.me/posts/why-not-prettier). | ||||||
|   | |||||||
| @@ -15,48 +15,48 @@ | |||||||
|     "up": "taze major -I" |     "up": "taze major -I" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@unocss/reset": "^0.47.0", |     "@unocss/reset": "^0.47.6", | ||||||
|     "@vueuse/core": "^9.6.0", |     "@vueuse/core": "^9.6.0", | ||||||
|     "@vueuse/head": "^1.0.18", |     "@vueuse/head": "^1.0.22", | ||||||
|     "nprogress": "^0.2.0", |     "nprogress": "^0.2.0", | ||||||
|     "pinia": "^2.0.27", |     "pinia": "^2.0.28", | ||||||
|     "vue": "^3.2.45", |     "vue": "^3.2.45", | ||||||
|     "vue-demi": "^0.13.11", |     "vue-demi": "^0.13.11", | ||||||
|     "vue-i18n": "^9.2.2", |     "vue-i18n": "^9.2.2", | ||||||
|     "vue-router": "^4.1.6" |     "vue-router": "^4.1.6" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@antfu/eslint-config": "^0.31.0", |     "@antfu/eslint-config": "^0.33.1", | ||||||
|     "@iconify-json/carbon": "^1.1.11", |     "@iconify-json/carbon": "^1.1.11", | ||||||
|     "@intlify/vite-plugin-vue-i18n": "^6.0.3", |     "@intlify/vite-plugin-vue-i18n": "^7.0.0", | ||||||
|     "@types/markdown-it-link-attributes": "^3.0.1", |     "@types/markdown-it-link-attributes": "^3.0.1", | ||||||
|     "@types/nprogress": "^0.2.0", |     "@types/nprogress": "^0.2.0", | ||||||
|     "@vitejs/plugin-vue": "^3.2.0", |     "@vitejs/plugin-vue": "^4.0.0", | ||||||
|     "@vue/test-utils": "^2.2.4", |     "@vue/test-utils": "^2.2.6", | ||||||
|     "critters": "^0.0.16", |     "critters": "^0.0.16", | ||||||
|     "cross-env": "^7.0.3", |     "cross-env": "^7.0.3", | ||||||
|     "cypress": "^11.2.0", |     "cypress": "^12.0.2", | ||||||
|     "eslint": "^8.28.0", |     "eslint": "^8.29.0", | ||||||
|     "eslint-plugin-cypress": "^2.12.1", |     "eslint-plugin-cypress": "^2.12.1", | ||||||
|     "https-localhost": "^4.7.1", |     "https-localhost": "^4.7.1", | ||||||
|     "markdown-it-link-attributes": "^4.0.1", |     "markdown-it-link-attributes": "^4.0.1", | ||||||
|     "markdown-it-shiki": "^0.6.1", |     "markdown-it-shiki": "^0.7.2", | ||||||
|     "pnpm": "^7.17.1", |     "pnpm": "^7.18.2", | ||||||
|     "shiki": "^0.11.1", |     "shiki": "^0.11.1", | ||||||
|     "taze": "^0.8.4", |     "taze": "^0.8.4", | ||||||
|     "typescript": "^4.9.3", |     "typescript": "^4.9.4", | ||||||
|     "unocss": "^0.47.0", |     "unocss": "^0.47.6", | ||||||
|     "unplugin-auto-import": "^0.12.0", |     "unplugin-auto-import": "^0.12.1", | ||||||
|     "unplugin-vue-components": "^0.22.11", |     "unplugin-vue-components": "^0.22.12", | ||||||
|     "vite": "^3.2.4", |     "vite": "^4.0.0", | ||||||
|     "vite-plugin-inspect": "^0.7.9", |     "vite-plugin-inspect": "^0.7.10", | ||||||
|     "vite-plugin-pages": "^0.27.1", |     "vite-plugin-pages": "^0.28.0", | ||||||
|     "vite-plugin-pwa": "^0.13.3", |     "vite-plugin-pwa": "^0.14.0", | ||||||
|     "vite-plugin-vue-layouts": "^0.7.0", |     "vite-plugin-vue-layouts": "^0.7.0", | ||||||
|     "vite-plugin-vue-markdown": "^0.22.1", |     "vite-plugin-vue-markdown": "^0.22.1", | ||||||
|     "vite-ssg": "^0.22.0", |     "vite-ssg": "^0.22.1", | ||||||
|     "vite-ssg-sitemap": "^0.4.3", |     "vite-ssg-sitemap": "^0.4.3", | ||||||
|     "vitest": "^0.25.3", |     "vitest": "^0.25.7", | ||||||
|     "vue-tsc": "^1.0.9" |     "vue-tsc": "^1.0.13" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "@antfu/eslint-config-monorepo", |   "name": "@antfu/eslint-config-monorepo", | ||||||
|   "version": "0.32.0", |   "version": "0.34.0", | ||||||
|   "private": true, |   "private": true, | ||||||
|   "packageManager": "pnpm@7.1.0", |   "packageManager": "pnpm@7.1.0", | ||||||
|   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", |   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", | ||||||
| @@ -14,9 +14,9 @@ | |||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@antfu/eslint-config": "*", |     "@antfu/eslint-config": "*", | ||||||
|     "bumpp": "^8.2.1", |     "bumpp": "^8.2.1", | ||||||
|     "eslint": "^8.28.0", |     "eslint": "^8.29.0", | ||||||
|     "eslint-plugin-antfu": "workspace:*", |     "eslint-plugin-antfu": "workspace:*", | ||||||
|     "rimraf": "^3.0.2", |     "rimraf": "^3.0.2", | ||||||
|     "typescript": "^4.9.3" |     "typescript": "^4.9.4" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "@antfu/eslint-config", |   "name": "@antfu/eslint-config", | ||||||
|   "version": "0.32.0", |   "version": "0.34.0", | ||||||
|   "description": "Anthony's ESLint config", |   "description": "Anthony's ESLint config", | ||||||
|   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", |   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
| @@ -17,21 +17,21 @@ | |||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@antfu/eslint-config-vue": "workspace:*", |     "@antfu/eslint-config-vue": "workspace:*", | ||||||
|     "@typescript-eslint/eslint-plugin": "^5.45.0", |     "@typescript-eslint/eslint-plugin": "^5.46.0", | ||||||
|     "@typescript-eslint/parser": "^5.45.0", |     "@typescript-eslint/parser": "^5.46.0", | ||||||
|     "eslint-plugin-eslint-comments": "^3.2.0", |     "eslint-plugin-eslint-comments": "^3.2.0", | ||||||
|     "eslint-plugin-html": "^7.1.0", |     "eslint-plugin-html": "^7.1.0", | ||||||
|     "eslint-plugin-import": "^2.26.0", |     "eslint-plugin-import": "^2.26.0", | ||||||
|     "eslint-plugin-jsonc": "^2.5.0", |     "eslint-plugin-jsonc": "^2.5.0", | ||||||
|     "eslint-plugin-n": "^15.5.1", |     "eslint-plugin-n": "^15.6.0", | ||||||
|     "eslint-plugin-promise": "^6.1.1", |     "eslint-plugin-promise": "^6.1.1", | ||||||
|     "eslint-plugin-unicorn": "^45.0.1", |     "eslint-plugin-unicorn": "^45.0.2", | ||||||
|     "eslint-plugin-vue": "^9.8.0", |     "eslint-plugin-vue": "^9.8.0", | ||||||
|     "eslint-plugin-yml": "^1.2.0", |     "eslint-plugin-yml": "^1.3.0", | ||||||
|     "jsonc-eslint-parser": "^2.1.0", |     "jsonc-eslint-parser": "^2.1.0", | ||||||
|     "yaml-eslint-parser": "^1.1.0" |     "yaml-eslint-parser": "^1.1.0" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "eslint": "^8.28.0" |     "eslint": "^8.29.0" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -20,6 +20,7 @@ module.exports = { | |||||||
|     'dist', |     'dist', | ||||||
|     'LICENSE*', |     'LICENSE*', | ||||||
|     'output', |     'output', | ||||||
|  |     'out', | ||||||
|     'coverage', |     'coverage', | ||||||
|     'public', |     'public', | ||||||
|     'temp', |     'temp', | ||||||
| @@ -168,6 +169,7 @@ module.exports = { | |||||||
|         '@typescript-eslint/no-use-before-define': 'off', |         '@typescript-eslint/no-use-before-define': 'off', | ||||||
|         '@typescript-eslint/no-var-requires': 'off', |         '@typescript-eslint/no-var-requires': 'off', | ||||||
|         '@typescript-eslint/comma-dangle': 'off', |         '@typescript-eslint/comma-dangle': 'off', | ||||||
|  |         '@typescript-eslint/consistent-type-imports': 'off', | ||||||
|         'import/no-unresolved': 'off', |         'import/no-unresolved': 'off', | ||||||
|         'no-alert': 'off', |         'no-alert': 'off', | ||||||
|         'no-console': 'off', |         'no-console': 'off', | ||||||
| @@ -223,7 +225,7 @@ module.exports = { | |||||||
|         asyncArrow: 'always', |         asyncArrow: 'always', | ||||||
|       }, |       }, | ||||||
|     ], |     ], | ||||||
|     'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 1 }], |     'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }], | ||||||
|  |  | ||||||
|     // es6 |     // es6 | ||||||
|     'no-var': 'error', |     'no-var': 'error', | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "@antfu/eslint-config-basic", |   "name": "@antfu/eslint-config-basic", | ||||||
|   "version": "0.32.0", |   "version": "0.34.0", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", |   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
| @@ -25,15 +25,15 @@ | |||||||
|     "eslint-plugin-import": "^2.26.0", |     "eslint-plugin-import": "^2.26.0", | ||||||
|     "eslint-plugin-jsonc": "^2.5.0", |     "eslint-plugin-jsonc": "^2.5.0", | ||||||
|     "eslint-plugin-markdown": "^3.0.0", |     "eslint-plugin-markdown": "^3.0.0", | ||||||
|     "eslint-plugin-n": "^15.5.1", |     "eslint-plugin-n": "^15.6.0", | ||||||
|     "eslint-plugin-no-only-tests": "^3.1.0", |     "eslint-plugin-no-only-tests": "^3.1.0", | ||||||
|     "eslint-plugin-promise": "^6.1.1", |     "eslint-plugin-promise": "^6.1.1", | ||||||
|     "eslint-plugin-unicorn": "^45.0.1", |     "eslint-plugin-unicorn": "^45.0.2", | ||||||
|     "eslint-plugin-yml": "^1.2.0", |     "eslint-plugin-yml": "^1.3.0", | ||||||
|     "jsonc-eslint-parser": "^2.1.0", |     "jsonc-eslint-parser": "^2.1.0", | ||||||
|     "yaml-eslint-parser": "^1.1.0" |     "yaml-eslint-parser": "^1.1.0" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "eslint": "^8.28.0" |     "eslint": "^8.29.0" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "eslint-plugin-antfu", |   "name": "eslint-plugin-antfu", | ||||||
|   "version": "0.32.0", |   "version": "0.34.0", | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
|   "homepage": "https://github.com/antfu/eslint-config", |   "homepage": "https://github.com/antfu/eslint-config", | ||||||
|   "main": "./dist/index.cjs", |   "main": "./dist/index.cjs", | ||||||
| @@ -16,11 +16,11 @@ | |||||||
|     "prepublishOnly": "nr build" |     "prepublishOnly": "nr build" | ||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@typescript-eslint/utils": "^5.45.0" |     "@typescript-eslint/utils": "^5.46.0" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@types/node": "^18.11.9", |     "@types/node": "^18.11.13", | ||||||
|     "unbuild": "^1.0.1", |     "unbuild": "^1.0.2", | ||||||
|     "vitest": "^0.25.3" |     "vitest": "^0.25.7" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| // Ported from https://github.com/gajus/eslint-plugin-canonical/blob/master/src/rules/preferInlineTypeImport.js | // Ported from https://github.com/gajus/eslint-plugin-canonical/blob/master/src/rules/preferInlineTypeImport.js | ||||||
| // by Gajus Kuizinas https://github.com/gajus | // by Gajus Kuizinas https://github.com/gajus | ||||||
|  | import type { TSESTree } from '@typescript-eslint/utils' | ||||||
|  | import type { RuleFixer, SourceCode } from '@typescript-eslint/utils/dist/ts-eslint' | ||||||
| import { createEslintRule } from '../utils' | import { createEslintRule } from '../utils' | ||||||
|  |  | ||||||
| export const RULE_NAME = 'prefer-inline-type-import' | export const RULE_NAME = 'prefer-inline-type-import' | ||||||
| @@ -47,7 +48,7 @@ export default createEslintRule<Options, MessageIds>({ | |||||||
|   }, |   }, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| function *removeTypeSpecifier(fixer, sourceCode, node) { | function * removeTypeSpecifier(fixer: RuleFixer, sourceCode: Readonly<SourceCode>, node: TSESTree.ImportDeclaration) { | ||||||
|   const importKeyword = sourceCode.getFirstToken(node) |   const importKeyword = sourceCode.getFirstToken(node) | ||||||
|  |  | ||||||
|   const typeIdentifier = sourceCode.getTokenAfter(importKeyword) |   const typeIdentifier = sourceCode.getTokenAfter(importKeyword) | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "@antfu/eslint-config-react", |   "name": "@antfu/eslint-config-react", | ||||||
|   "version": "0.32.0", |   "version": "0.34.0", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", |   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
| @@ -24,8 +24,8 @@ | |||||||
|     "eslint-plugin-react-hooks": "^4.6.0" |     "eslint-plugin-react-hooks": "^4.6.0" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "eslint": "^8.28.0", |     "eslint": "^8.29.0", | ||||||
|     "react": "^18.2.0", |     "react": "^18.2.0", | ||||||
|     "typescript": "^4.9.3" |     "typescript": "^4.9.4" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -2,6 +2,8 @@ const fs = require('fs') | |||||||
| const { join } = require('path') | const { join } = require('path') | ||||||
| const basic = require('@antfu/eslint-config-basic') | const basic = require('@antfu/eslint-config-basic') | ||||||
|  |  | ||||||
|  | const tsconfig = process.env.ESLINT_TSCONFIG || 'tsconfig.eslint.json' | ||||||
|  |  | ||||||
| module.exports = { | module.exports = { | ||||||
|   extends: [ |   extends: [ | ||||||
|     '@antfu/eslint-config-basic', |     '@antfu/eslint-config-basic', | ||||||
| @@ -14,16 +16,17 @@ module.exports = { | |||||||
|     }, |     }, | ||||||
|   }, |   }, | ||||||
|   overrides: basic.overrides.concat( |   overrides: basic.overrides.concat( | ||||||
|     !fs.existsSync(join(process.cwd(), 'tsconfig.json')) |     !fs.existsSync(join(process.cwd(), tsconfig)) | ||||||
|       ? [] |       ? [] | ||||||
|       : [{ |       : [{ | ||||||
|           parserOptions: { |           parserOptions: { | ||||||
|             tsconfigRootDir: process.cwd(), |             tsconfigRootDir: process.cwd(), | ||||||
|             project: ['tsconfig.json'], |             project: [tsconfig], | ||||||
|           }, |           }, | ||||||
|           parser: '@typescript-eslint/parser', |           parser: '@typescript-eslint/parser', | ||||||
|           excludedFiles: ['**/*.md/*.*'], |           excludedFiles: ['**/*.md/*.*'], | ||||||
|           files: ['*.ts', '*.tsx'], |           files: ['*.ts', '*.tsx', '*.mts', '*.cts'], | ||||||
|  |           // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/recommended-requiring-type-checking.ts | ||||||
|           rules: { |           rules: { | ||||||
|             'no-throw-literal': 'off', |             'no-throw-literal': 'off', | ||||||
|             '@typescript-eslint/no-throw-literal': 'error', |             '@typescript-eslint/no-throw-literal': 'error', | ||||||
| @@ -31,9 +34,22 @@ module.exports = { | |||||||
|             '@typescript-eslint/no-implied-eval': 'error', |             '@typescript-eslint/no-implied-eval': 'error', | ||||||
|             'dot-notation': 'off', |             'dot-notation': 'off', | ||||||
|             '@typescript-eslint/dot-notation': ['error', { allowKeywords: true }], |             '@typescript-eslint/dot-notation': ['error', { allowKeywords: true }], | ||||||
|             'no-void': ['error', { 'allowAsStatement': true }], |             'no-void': ['error', { allowAsStatement: true }], | ||||||
|             '@typescript-eslint/no-floating-promises': 'error', |             '@typescript-eslint/no-floating-promises': 'error', | ||||||
|             '@typescript-eslint/no-misused-promises': 'error', |             '@typescript-eslint/no-misused-promises': 'error', | ||||||
|  |             '@typescript-eslint/await-thenable': 'error', | ||||||
|  |             '@typescript-eslint/no-for-in-array': 'error', | ||||||
|  |             '@typescript-eslint/no-unnecessary-type-assertion': 'error', | ||||||
|  |             '@typescript-eslint/no-unsafe-argument': 'error', | ||||||
|  |             '@typescript-eslint/no-unsafe-assignment': 'error', | ||||||
|  |             '@typescript-eslint/no-unsafe-call': 'error', | ||||||
|  |             '@typescript-eslint/no-unsafe-member-access': 'error', | ||||||
|  |             '@typescript-eslint/no-unsafe-return': 'error', | ||||||
|  |             'require-await': 'off', | ||||||
|  |             '@typescript-eslint/require-await': 'error', | ||||||
|  |             '@typescript-eslint/restrict-plus-operands': 'error', | ||||||
|  |             '@typescript-eslint/restrict-template-expressions': 'error', | ||||||
|  |             '@typescript-eslint/unbound-method': 'error', | ||||||
|           }, |           }, | ||||||
|         }], |         }], | ||||||
|   ), |   ), | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "@antfu/eslint-config-ts", |   "name": "@antfu/eslint-config-ts", | ||||||
|   "version": "0.32.0", |   "version": "0.34.0", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", |   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", | ||||||
|   "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.45.0", |     "@typescript-eslint/eslint-plugin": "^5.46.0", | ||||||
|     "@typescript-eslint/parser": "^5.45.0" |     "@typescript-eslint/parser": "^5.46.0" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "eslint": "^8.28.0" |     "eslint": "^8.29.0" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "@antfu/eslint-config-vue", |   "name": "@antfu/eslint-config-vue", | ||||||
|   "version": "0.32.0", |   "version": "0.34.0", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", |   "author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)", | ||||||
|   "license": "MIT", |   "license": "MIT", | ||||||
| @@ -21,6 +21,6 @@ | |||||||
|     "local-pkg": "^0.4.2" |     "local-pkg": "^0.4.2" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "eslint": "^8.28.0" |     "eslint": "^8.29.0" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
							
								
								
									
										548
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										548
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user