Compare commits

...

29 Commits

Author SHA1 Message Date
Anthony Fu
03ce850ef4 v0.5.0 2021-03-13 21:11:42 +08:00
Anthony Fu
c4a684032b chore: update deps 2021-03-13 21:11:35 +08:00
Anthony Fu
5678d9f5c3 feat: no unused disable 2021-03-13 21:09:53 +08:00
Anthony Fu
3f7f753a5a v0.4.3 2020-10-21 15:09:21 +08:00
Anthony Fu
4cc878512b chore: update 2020-10-21 15:09:11 +08:00
Anthony Fu
a3dd80c160 v0.4.2 2020-10-21 14:49:52 +08:00
Anthony Fu
33b93946af chore: update 2020-10-21 14:49:38 +08:00
Anthony Fu
4c35e1bbb8 v0.4.1 2020-10-21 14:43:08 +08:00
Anthony Fu
4c7e189fcd chore: update 2020-10-21 14:42:56 +08:00
Anthony Fu
0378f3d423 v0.4.0 2020-10-21 14:39:50 +08:00
Anthony Fu
9755c28da2 chore!: update 2020-10-21 14:38:36 +08:00
Anthony Fu
7ce57bfbf1 v0.3.4 2020-10-20 12:21:58 +08:00
Anthony Fu
c0c3070075 chore: update deps 2020-10-20 12:21:44 +08:00
Anthony Fu
91a8757a8c v0.3.3 2020-08-22 00:07:57 +08:00
Anthony Fu
245001d081 fix: disable import/no-absolute-path 2020-08-22 00:02:01 +08:00
Anthony Fu
e25761fcfc v0.3.2 2020-08-12 20:09:11 +08:00
Anthony Fu
7dd8ffaed0 chore: lint 2020-08-12 20:08:06 +08:00
Anthony Fu
24e025c12d v0.3.1 2020-08-12 19:56:23 +08:00
Anthony Fu
e53f3ec8db fix: ref 2020-08-12 19:51:00 +08:00
Anthony Fu
14e207d392 v0.3.0 2020-08-12 19:44:16 +08:00
Anthony Fu
c665c58309 chore: script 2020-08-12 19:43:48 +08:00
Anthony Fu
f7c8146857 chore: lerna 2020-08-12 19:42:30 +08:00
Anthony Fu
54cb86ec3b chore: remove renovate 2020-08-12 19:25:59 +08:00
Anthony Fu
a7fbdcad4b feat: add react and all 2020-08-12 19:24:32 +08:00
Renovate Bot
f82ee6fce9 fix(deps): update all non-major dependencies 2020-08-10 01:14:31 +00:00
Renovate Bot
2243bf67fa fix(deps): update all non-major dependencies 2020-08-03 02:26:15 +00:00
Renovate Bot
3a6b4ea59e fix(deps): update dependency @typescript-eslint/eslint-plugin to v3.7.0 2020-07-27 02:06:34 +00:00
Renovate Bot
e0b59f271f fix(deps): update dependency eslint-plugin-vue to v7.0.0-beta.0 2020-07-20 01:29:43 +00:00
Anthony Fu
b962266ba1 chore: updates 2020-07-18 22:13:58 +08:00
22 changed files with 2982 additions and 2593 deletions

3
.eslintrc.json Normal file
View File

@@ -0,0 +1,3 @@
{
"extends": "@antfu"
}

View File

@@ -3,6 +3,98 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13)
### Features
* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3))
## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-monorepo
## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-monorepo
## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-monorepo
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-monorepo
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
### Bug Fixes
* disable import/no-absolute-path ([245001d](https://github.com/antfu/eslint-config/commit/245001d08129b3ec4961741d596f70abb2c9be5f))
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-monorepo
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)
### Bug Fixes
* ref ([e53f3ec](https://github.com/antfu/eslint-config/commit/e53f3ec8dbc1cc3e32d57c08604b2b1d51661ca4))
# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12)
### Bug Fixes
* **deps:** update all non-major dependencies ([f82ee6f](https://github.com/antfu/eslint-config/commit/f82ee6fce9153f098c8fbbeef17f88261e08176f))
* **deps:** update all non-major dependencies ([2243bf6](https://github.com/antfu/eslint-config/commit/2243bf67fac0f75c1a4e35c604f49ebb2092d960))
* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.7.0 ([3a6b4ea](https://github.com/antfu/eslint-config/commit/3a6b4ea59ec8b9a4d75452ae1f6fd2c51d96b242))
* **deps:** update dependency eslint-plugin-vue to v7.0.0-beta.0 ([e0b59f2](https://github.com/antfu/eslint-config/commit/e0b59f271fa3c679e5c4a7d61b5af79cef37721f))
### Features
* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf))
## [0.2.14](https://github.com/antfu/eslint-config/compare/v0.2.13...v0.2.14) (2020-07-18)
**Note:** Version bump only for package @antfu/eslint-config

View File

@@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "0.2.14"
"version": "0.5.0"
}

View File

@@ -1,29 +1,18 @@
{
"name": "@antfu/eslint-config",
"name": "@antfu/eslint-config-monorepo",
"version": "0.1.0",
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
"lint": "lerna run lint",
"lint:fix": "lerna run lint -- -- --fix",
"release": "lerna publish --conventional-commits --graph-type all -y"
"lint": "npx eslint --ext .js --fix .",
"release": "lerna publish --conventional-commits"
},
"devDependencies": {
"@antfu/eslint-config": "^0.2.13",
"eslint": "^7.4.0",
"lerna": "^3.22.1",
"typescript": "^3.9.7"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-unicorn": "^21.0.0",
"eslint-plugin-vue": "^7.0.0-alpha.10"
"@antfu/eslint-config": "*",
"eslint": "^7.22.0",
"lerna": "^4.0.0",
"typescript": "^4.2.3"
}
}

75
packages/all/CHANGELOG.md Normal file
View File

@@ -0,0 +1,75 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13)
**Note:** Version bump only for package @antfu/eslint-config
## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config
## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config
## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
**Note:** Version bump only for package @antfu/eslint-config
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config
# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12)
### Features
* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf))

6
packages/all/index.js Normal file
View File

@@ -0,0 +1,6 @@
module.exports = {
extends: [
'@antfu/eslint-config-react',
'@antfu/eslint-config-vue',
],
}

25
packages/all/package.json Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "@antfu/eslint-config",
"version": "0.5.0",
"description": "",
"main": "index.js",
"keywords": [],
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"files": [
"index.js"
],
"peerDependencies": {
"eslint": ">=7.4.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-react": "^0.5.0",
"@antfu/eslint-config-vue": "^0.5.0"
},
"devDependencies": {
"eslint": "^7.22.0"
}
}

View File

@@ -3,6 +3,71 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13)
### Features
* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3))
## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-basic
## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-basic
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-basic
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
### Bug Fixes
* disable import/no-absolute-path ([245001d](https://github.com/antfu/eslint-config/commit/245001d08129b3ec4961741d596f70abb2c9be5f))
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-basic
# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12)
### Features
* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf))
## [0.2.14](https://github.com/antfu/eslint-config/compare/v0.2.13...v0.2.14) (2020-07-18)
**Note:** Version bump only for package @antfu/eslint-config

View File

@@ -8,10 +8,9 @@ module.exports = {
'standard',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:eslint-comments/recommended',
],
plugins: [
'unicorn',
],
plugins: ['html', 'unicorn'],
settings: {
'import/resolver': {
node: { extensions: ['.js', '.mjs'] },
@@ -23,17 +22,18 @@ module.exports = {
'import/first': 'error',
'import/no-mutable-exports': 'error',
'import/no-unresolved': 'off',
'import/no-absolute-path': 'off',
// Common
'semi': [2, 'never'],
'curly': [2, 'multi-or-nest', 'consistent'],
'quotes': ['error', 'single'],
semi: [2, 'never'],
curly: [2, 'multi-or-nest', 'consistent'],
quotes: ['error', 'single'],
'no-unused-vars': 'warn',
'no-param-reassign': 'off',
'array-bracket-spacing': ['error', 'never'],
'brace-style': ['error', 'stroustrup', { 'allowSingleLine': true }],
'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
'block-spacing': ['error', 'always'],
'camelcase': 'off',
camelcase: 'off',
'comma-spacing': ['error', { before: false, after: true }],
'comma-style': ['error', 'last'],
'comma-dangle': ['error', 'always-multiline'],
@@ -43,7 +43,7 @@ module.exports = {
'no-cond-assign': ['error', 'always'],
'func-call-spacing': ['off', 'never'],
'key-spacing': ['error', { beforeColon: false, afterColon: true }],
'indent': ['error', 2, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }],
indent: ['error', 2, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }],
'no-restricted-syntax': [
'error',
'DebuggerStatement',
@@ -58,18 +58,28 @@ module.exports = {
// es6
'no-var': 'error',
'prefer-const': ['error', {
destructuring: 'any',
ignoreReadBeforeAssign: true,
}],
'prefer-arrow-callback': ['error', {
allowNamedFunctions: false,
allowUnboundThis: true,
}],
'object-shorthand': ['error', 'always', {
ignoreConstructors: false,
avoidQuotes: true,
}],
'prefer-const': [
'error',
{
destructuring: 'any',
ignoreReadBeforeAssign: true,
},
],
'prefer-arrow-callback': [
'error',
{
allowNamedFunctions: false,
allowUnboundThis: true,
},
],
'object-shorthand': [
'error',
'always',
{
ignoreConstructors: false,
avoidQuotes: true,
},
],
'prefer-rest-params': 'error',
'prefer-spread': 'error',
'prefer-template': 'error',
@@ -81,8 +91,8 @@ module.exports = {
'array-callback-return': 'error',
'block-scoped-var': 'error',
'consistent-return': 'off',
'complexity': ['off', 11],
'eqeqeq': ['error', 'allow-null'],
complexity: ['off', 11],
eqeqeq: ['error', 'allow-null'],
'no-alert': 'warn',
'no-case-declarations': 'error',
'no-multi-spaces': 'error',

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config",
"version": "0.2.14",
"name": "@antfu/eslint-config-basic",
"version": "0.5.0",
"description": "",
"main": "index.js",
"keywords": [],
@@ -19,15 +19,16 @@
"eslint": ">=7.4.0"
},
"dependencies": {
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-unicorn": "^21.0.0"
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-unicorn": "^28.0.2"
},
"devDependencies": {
"eslint": "^7.0.0"
},
"gitHead": "bd0460759c73f7fcdf32570f40a13e37ab6961c0"
"eslint": "^7.22.0",
"eslint-plugin-eslint-comments": "^3.2.0"
}
}

View File

@@ -0,0 +1,78 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13)
### Features
* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3))
## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-react
# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12)
### Features
* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf))

17
packages/react/index.js Normal file
View File

@@ -0,0 +1,17 @@
module.exports = {
extends: [
'plugin:react/recommended',
'@antfu/eslint-config-ts',
],
settings: {
react: {
version: 'detect',
},
},
rules: {
'jsx-quotes': [
'error',
'prefer-double',
],
},
}

View File

@@ -0,0 +1,30 @@
{
"name": "@antfu/eslint-config-react",
"version": "0.5.0",
"description": "",
"main": "index.js",
"keywords": [],
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"scripts": {
"lint": "eslint . --config=index.js"
},
"files": [
"index.js"
],
"peerDependencies": {
"eslint": ">=7.4.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-ts": "^0.5.0",
"eslint-plugin-react": "^7.22.0"
},
"devDependencies": {
"eslint": "^7.22.0",
"react": "^17.0.1",
"typescript": "^4.2.3"
}
}

View File

@@ -3,6 +3,94 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13)
### Features
* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3))
## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)
### Bug Fixes
* ref ([e53f3ec](https://github.com/antfu/eslint-config/commit/e53f3ec8dbc1cc3e32d57c08604b2b1d51661ca4))
# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12)
### Bug Fixes
* **deps:** update all non-major dependencies ([f82ee6f](https://github.com/antfu/eslint-config/commit/f82ee6fce9153f098c8fbbeef17f88261e08176f))
* **deps:** update all non-major dependencies ([2243bf6](https://github.com/antfu/eslint-config/commit/2243bf67fac0f75c1a4e35c604f49ebb2092d960))
* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.7.0 ([3a6b4ea](https://github.com/antfu/eslint-config/commit/3a6b4ea59ec8b9a4d75452ae1f6fd2c51d96b242))
### Features
* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf))
## [0.2.14](https://github.com/antfu/eslint-config/compare/v0.2.13...v0.2.14) (2020-07-18)
**Note:** Version bump only for package @antfu/eslint-config-ts

View File

@@ -4,17 +4,24 @@ module.exports = {
],
parser: '@typescript-eslint/parser',
extends: [
'@antfu/eslint-config-basic',
'plugin:@typescript-eslint/recommended',
'@antfu/eslint-config',
],
rules: {
// TS
'no-useless-constructor': 'off',
'@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/no-unused-vars': [2, { args: 'none' }],
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/member-delimiter-style': ['error', { multiline: { delimiter: 'none' } }],
'@typescript-eslint/type-annotation-spacing': ['error', {}],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-redeclare': 'off',
'@typescript-eslint/no-redeclare': 'error',
// off
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-member-accessibility': 'off',
@@ -27,5 +34,5 @@ module.exports = {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/ban-types': 'off',
}
},
}

View File

@@ -1,14 +1,11 @@
{
"name": "@antfu/eslint-config-ts",
"version": "0.2.14",
"version": "0.5.0",
"description": "",
"main": "index.js",
"keywords": [],
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"scripts": {
"lint": "eslint . --config=index.js"
},
"files": [
"index.js"
],
@@ -20,13 +17,11 @@
"typescript": ">=3.9"
},
"dependencies": {
"@antfu/eslint-config": "^0.2.14",
"@typescript-eslint/eslint-plugin": "3.6.1",
"@typescript-eslint/parser": "^3.6.1"
"@antfu/eslint-config-basic": "^0.5.0",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0"
},
"devDependencies": {
"eslint": "^7.0.0",
"typescript": "^3.7.1-rc"
},
"gitHead": "bd0460759c73f7fcdf32570f40a13e37ab6961c0"
"eslint": "^7.22.0"
}
}

View File

@@ -3,6 +3,91 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.5.0](https://github.com/antfu/eslint-config/compare/v0.4.3...v0.5.0) (2021-03-13)
### Features
* no unused disable ([5678d9f](https://github.com/antfu/eslint-config/commit/5678d9f5c3f72669d79434fba108c01d28f339e3))
## [0.4.3](https://github.com/antfu/eslint-config/compare/v0.4.2...v0.4.3) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.4.2](https://github.com/antfu/eslint-config/compare/v0.4.1...v0.4.2) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.4.1](https://github.com/antfu/eslint-config/compare/v0.4.0...v0.4.1) (2020-10-21)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-vue
# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12)
### Bug Fixes
* **deps:** update all non-major dependencies ([f82ee6f](https://github.com/antfu/eslint-config/commit/f82ee6fce9153f098c8fbbeef17f88261e08176f))
* **deps:** update all non-major dependencies ([2243bf6](https://github.com/antfu/eslint-config/commit/2243bf67fac0f75c1a4e35c604f49ebb2092d960))
* **deps:** update dependency eslint-plugin-vue to v7.0.0-beta.0 ([e0b59f2](https://github.com/antfu/eslint-config/commit/e0b59f271fa3c679e5c4a7d61b5af79cef37721f))
### Features
* add react and all ([a7fbdca](https://github.com/antfu/eslint-config/commit/a7fbdcad4b20294e26e817fae468f468376e49cf))
## [0.2.14](https://github.com/antfu/eslint-config/compare/v0.2.13...v0.2.14) (2020-07-18)
**Note:** Version bump only for package @antfu/eslint-config-vue

View File

@@ -4,13 +4,14 @@ module.exports = {
parser: '@typescript-eslint/parser',
},
extends: [
'plugin:vue/recommended',
'plugin:vue/vue3-recommended',
'@antfu/eslint-config-ts',
],
plugins: [
'vue'
'vue',
],
rules: {
'vue/max-attributes-per-line': ['warn', { singleline: 5 }],
}
'vue/html-self-closing': 'off'
},
}

View File

@@ -1,14 +1,11 @@
{
"name": "@antfu/eslint-config-vue",
"version": "0.2.14",
"version": "0.5.0",
"description": "",
"main": "index.js",
"keywords": [],
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
"license": "MIT",
"scripts": {
"lint": "eslint . --config=index.js"
},
"files": [
"index.js"
],
@@ -19,12 +16,10 @@
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-ts": "^0.2.14",
"eslint-plugin-vue": "7.0.0-alpha.10"
"@antfu/eslint-config-ts": "^0.5.0",
"eslint-plugin-vue": "7.7.0"
},
"devDependencies": {
"eslint": "^7.0.0",
"typescript": "^3.9.7"
},
"gitHead": "bd0460759c73f7fcdf32570f40a13e37ab6961c0"
"eslint": "^7.22.0"
}
}

4834
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,2 @@
packages
- 'packages/**'
packages:
- 'packages/*'

View File

@@ -1,15 +0,0 @@
{
"extends": [
"config:base",
":preserveSemverRanges",
"schedule:weekly",
"group:allNonMajor"
],
"lockFileMaintenance": {
"extends": [
"group:allNonMajor"
],
"commitMessageAction": "Update"
},
"automerge": true
}