Compare commits

..

4 Commits

Author SHA1 Message Date
Anthony Fu
38f64ae9af release v0.20.5 2022-04-17 13:15:15 +08:00
Anthony Fu
22527f61de fix: SwitchCase indent 2022-04-17 13:15:12 +08:00
Anthony Fu
1ff53f2f04 release v0.20.4 2022-04-17 12:49:51 +08:00
Anthony Fu
316bbd903b fix: ts indent ingores 2022-04-17 12:49:48 +08:00
8 changed files with 14 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-monorepo",
"version": "0.20.3",
"version": "0.20.5",
"private": true,
"license": "MIT",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config",
"version": "0.20.3",
"version": "0.20.5",
"description": "",
"keywords": [],
"license": "MIT",

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-basic",
"version": "0.20.3",
"version": "0.20.5",
"description": "",
"keywords": [],
"license": "MIT",

View File

@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-antfu",
"version": "0.20.3",
"version": "0.20.5",
"license": "MIT",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-react",
"version": "0.20.3",
"version": "0.20.5",
"description": "",
"keywords": [],
"license": "MIT",

View File

@@ -29,7 +29,13 @@ module.exports = {
// Override JS
'no-useless-constructor': 'off',
'indent': 'off',
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/indent': ['error', 2, {
ignoredNodes: [
'JSXAttribute',
'TSTypeParameterInstantiation',
],
SwitchCase: 1,
}],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'no-redeclare': 'off',

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-ts",
"version": "0.20.3",
"version": "0.20.5",
"description": "",
"keywords": [],
"license": "MIT",

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-vue",
"version": "0.20.3",
"version": "0.20.5",
"description": "",
"keywords": [],
"license": "MIT",