Compare commits

...

18 Commits

Author SHA1 Message Date
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
Anthony Fu
9b7f5ce9d1 v0.2.14 2020-07-18 22:10:55 +08:00
Anthony Fu
c5ca025ff8 chore: switch to pnpm and update deps 2020-07-18 22:08:29 +08:00
Anthony Fu
cd4bed781f v0.2.13 2020-06-09 19:10:22 +08:00
Anthony Fu
093620f3b3 Merge branch 'master' of https://github.com/antfu/eslint-config 2020-06-09 19:09:59 +08:00
Anthony Fu
88b8b1ef6b chore: remove unicorn/recommand 2020-06-09 19:09:54 +08:00
Renovate Bot
494d99c2bb fix(deps): update dependency @typescript-eslint/eslint-plugin to v3.1.0 2020-06-08 02:25:58 +00:00
26 changed files with 6749 additions and 13431 deletions

3
.eslintrc.json Normal file
View File

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

View File

@@ -3,6 +3,55 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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
## [0.2.13](https://github.com/antfu/eslint-config/compare/v0.2.12...v0.2.13) (2020-06-09)
### Bug Fixes
* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.1.0 ([494d99c](https://github.com/antfu/eslint-config/commit/494d99c2bb52895a055cea7be9b50494a6a67358))
## [0.2.12](https://github.com/antfu/eslint-config/compare/v0.2.11...v0.2.12) (2020-06-04)

View File

@@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "0.2.12"
"version": "0.3.1"
}

9026
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,30 +1,17 @@
{
"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": {
"postinstall": "lerna bootstrap",
"lint": "lerna run lint",
"lint:fix": "lerna run lint -- -- --fix",
"release": "lerna publish --conventional-commits --graph-type all -y"
"preinstall": "npx only-allow pnpm",
"release": "lerna publish --conventional-commits"
},
"devDependencies": {
"@antfu/eslint-config": "^0.2.11",
"eslint": "^7.1.0",
"lerna": "^3.22.0",
"typescript": "^3.9.3"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-nuxt": "1.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-unicorn": "^20.1.0",
"eslint-plugin-vue": "6.2.2"
"@antfu/eslint-config": "*",
"eslint": "^7.6.0",
"lerna": "^3.22.1",
"typescript": "^3.9.7"
}
}

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

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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',
],
}

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

@@ -0,0 +1,22 @@
{
"name": "@antfu/eslint-config",
"version": "0.3.1",
"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.3.1",
"@antfu/eslint-config-vue": "^0.3.1"
}
}

View File

@@ -3,6 +3,36 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [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
## [0.2.13](https://github.com/antfu/eslint-config/compare/v0.2.12...v0.2.13) (2020-06-09)
### Bug Fixes
* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.1.0 ([494d99c](https://github.com/antfu/eslint-config/commit/494d99c2bb52895a055cea7be9b50494a6a67358))
## [0.2.12](https://github.com/antfu/eslint-config/compare/v0.2.11...v0.2.12) (2020-06-04)

View File

@@ -8,9 +8,9 @@ module.exports = {
'standard',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:unicorn/recommended',
],
plugins: [
'html',
'unicorn',
],
settings: {

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config",
"version": "0.2.12",
"name": "@antfu/eslint-config-basic",
"version": "0.3.0",
"description": "",
"main": "index.js",
"keywords": [],
@@ -16,20 +16,18 @@
"access": "public"
},
"peerDependencies": {
"eslint": ">=6.6.0"
"eslint": ">=7.4.0"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "3.0.2",
"@typescript-eslint/parser": "^3.0.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-html": "^6.0.3",
"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": "^20.0.0"
"eslint-plugin-unicorn": "^21.0.0"
},
"devDependencies": {
"eslint": "^7.0.0"
},
"gitHead": "bd0460759c73f7fcdf32570f40a13e37ab6961c0"
"eslint": "^7.6.0"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,19 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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))

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

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

View File

@@ -0,0 +1,29 @@
{
"name": "@antfu/eslint-config-react",
"version": "0.3.1",
"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.3.1",
"eslint-plugin-react": "^7.20.5"
},
"devDependencies": {
"eslint": "^7.6.0",
"typescript": "^3.9.7"
}
}

View File

@@ -3,6 +3,54 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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
## [0.2.13](https://github.com/antfu/eslint-config/compare/v0.2.12...v0.2.13) (2020-06-09)
### Bug Fixes
* **deps:** update dependency @typescript-eslint/eslint-plugin to v3.1.0 ([494d99c](https://github.com/antfu/eslint-config/commit/494d99c2bb52895a055cea7be9b50494a6a67358))
## [0.2.12](https://github.com/antfu/eslint-config/compare/v0.2.11...v0.2.12) (2020-06-04)

View File

@@ -5,7 +5,7 @@ module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'plugin:@typescript-eslint/recommended',
'@antfu/eslint-config',
'@antfu/eslint-config-basic',
],
rules: {
// TS
@@ -15,6 +15,8 @@ module.exports = {
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/member-delimiter-style': ['error', { multiline: { delimiter: 'none' } }],
'@typescript-eslint/type-annotation-spacing': ['error', {}],
// off
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-member-accessibility': 'off',

File diff suppressed because it is too large Load Diff

View File

@@ -1,14 +1,11 @@
{
"name": "@antfu/eslint-config-ts",
"version": "0.2.12",
"version": "0.3.1",
"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"
],
@@ -16,17 +13,12 @@
"access": "public"
},
"peerDependencies": {
"eslint": ">=6.6.0",
"typescript": ">=3.6"
"eslint": ">=7.4.0",
"typescript": ">=3.9"
},
"dependencies": {
"@antfu/eslint-config": "^0.2.12",
"@typescript-eslint/eslint-plugin": "3.0.2",
"@typescript-eslint/parser": "^3.0.0"
},
"devDependencies": {
"eslint": "^7.0.0",
"typescript": "^3.7.1-rc"
},
"gitHead": "bd0460759c73f7fcdf32570f40a13e37ab6961c0"
"@antfu/eslint-config-basic": "^0.3.0",
"@typescript-eslint/eslint-plugin": "3.6.1",
"@typescript-eslint/parser": "^3.9.0"
}
}

View File

@@ -3,6 +3,48 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [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
## [0.2.13](https://github.com/antfu/eslint-config/compare/v0.2.12...v0.2.13) (2020-06-09)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.2.12](https://github.com/antfu/eslint-config/compare/v0.2.11...v0.2.12) (2020-06-04)

View File

@@ -4,13 +4,13 @@ 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 }],
}
},
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,31 +1,22 @@
{
"name": "@antfu/eslint-config-vue",
"version": "0.2.12",
"version": "0.3.1",
"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": ">=6.6.0"
"eslint": ">=7.4.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-ts": "^0.2.12",
"eslint-plugin-nuxt": "1.0.0",
"eslint-plugin-vue": "6.2.2"
},
"devDependencies": {
"eslint": "^7.0.0",
"typescript": "^3.7.1-rc"
},
"gitHead": "bd0460759c73f7fcdf32570f40a13e37ab6961c0"
"@antfu/eslint-config-ts": "^0.3.1",
"eslint-plugin-vue": "7.0.0-alpha.10"
}
}

6430
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

2
pnpm-workspace.yaml Normal file
View File

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

View File

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