Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8ddaee3bf8 | ||
|
af2c3273cf | ||
|
12e57fce54 | ||
|
b08b769a8a | ||
|
65cef9437a | ||
|
f1b9dc396b |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-monorepo",
|
||||
"version": "0.24.2",
|
||||
"version": "0.25.1",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@7.1.0",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config",
|
||||
"version": "0.24.2",
|
||||
"version": "0.25.1",
|
||||
"description": "Anthony's ESLint config",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
|
@@ -4,6 +4,7 @@ module.exports = {
|
||||
browser: true,
|
||||
node: true,
|
||||
},
|
||||
reportUnusedDisableDirectives: true,
|
||||
extends: [
|
||||
'./standard',
|
||||
'plugin:import/recommended',
|
||||
@@ -124,8 +125,8 @@ module.exports = {
|
||||
pathPattern: '^exports.*$',
|
||||
order: [
|
||||
'types',
|
||||
'import',
|
||||
'require',
|
||||
'import',
|
||||
],
|
||||
},
|
||||
],
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-basic",
|
||||
"version": "0.24.2",
|
||||
"version": "0.25.1",
|
||||
"description": "",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eslint-plugin-antfu",
|
||||
"version": "0.24.2",
|
||||
"version": "0.25.1",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antfu/eslint-config",
|
||||
"main": "./dist/index.cjs",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-react",
|
||||
"version": "0.24.2",
|
||||
"version": "0.25.1",
|
||||
"description": "",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
|
@@ -1,4 +1,3 @@
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const basic = require('@antfu/eslint-config-basic')
|
||||
|
||||
module.exports = {
|
||||
@@ -22,7 +21,6 @@ module.exports = {
|
||||
'@typescript-eslint/type-annotation-spacing': ['error', {}],
|
||||
'@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports', disallowTypeAnnotations: false }],
|
||||
'@typescript-eslint/consistent-type-definitions': ['error', 'interface'],
|
||||
'@typescript-eslint/consistent-indexed-object-style': ['error', 'record'],
|
||||
'@typescript-eslint/prefer-ts-expect-error': 'error',
|
||||
|
||||
// Override JS
|
||||
@@ -114,6 +112,7 @@ module.exports = {
|
||||
// '@typescript-eslint/dot-notation': ['error', { allowKeywords: true }],
|
||||
|
||||
// off
|
||||
'@typescript-eslint/consistent-indexed-object-style': 'off',
|
||||
'@typescript-eslint/naming-convention': 'off',
|
||||
'@typescript-eslint/explicit-function-return-type': 'off',
|
||||
'@typescript-eslint/explicit-member-accessibility': 'off',
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-ts",
|
||||
"version": "0.24.2",
|
||||
"version": "0.25.1",
|
||||
"description": "",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-vue",
|
||||
"version": "0.24.2",
|
||||
"version": "0.25.1",
|
||||
"description": "",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
|
Reference in New Issue
Block a user