Compare commits

...

2 Commits

Author SHA1 Message Date
Anthony Fu
fce5e8dc3a chore: release v0.33.1 2022-11-30 21:16:29 +08:00
曾明健
3486d0d6c0 fix(ts): fix parerOptions (#134) 2022-11-30 21:16:09 +08:00
8 changed files with 9 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-monorepo", "name": "@antfu/eslint-config-monorepo",
"version": "0.33.0", "version": "0.33.1",
"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/)",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config", "name": "@antfu/eslint-config",
"version": "0.33.0", "version": "0.33.1",
"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",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-basic", "name": "@antfu/eslint-config-basic",
"version": "0.33.0", "version": "0.33.1",
"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",

View File

@@ -1,6 +1,6 @@
{ {
"name": "eslint-plugin-antfu", "name": "eslint-plugin-antfu",
"version": "0.33.0", "version": "0.33.1",
"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",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-react", "name": "@antfu/eslint-config-react",
"version": "0.33.0", "version": "0.33.1",
"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",

View File

@@ -19,11 +19,11 @@ module.exports = {
: [{ : [{
parserOptions: { parserOptions: {
tsconfigRootDir: process.cwd(), tsconfigRootDir: process.cwd(),
project: ['tsconfig.json'], project: ['tsconfig.eslint.json'],
}, },
parser: '@typescript-eslint/parser', parser: '@typescript-eslint/parser',
excludedFiles: ['**/*.md/*.*'], excludedFiles: ['**/*.md/*.*'],
files: ['*.ts', '*.tsx'], files: ['*.ts', '*.tsx', '*.mts', '*.cts'],
rules: { rules: {
'no-throw-literal': 'off', 'no-throw-literal': 'off',
'@typescript-eslint/no-throw-literal': 'error', '@typescript-eslint/no-throw-literal': 'error',

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-ts", "name": "@antfu/eslint-config-ts",
"version": "0.33.0", "version": "0.33.1",
"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",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-vue", "name": "@antfu/eslint-config-vue",
"version": "0.33.0", "version": "0.33.1",
"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",