Compare commits

..

5 Commits

Author SHA1 Message Date
Anthony Fu
c4a8f9ef5f v0.10.0 2021-10-16 21:50:10 +08:00
Anthony Fu
e9027d5e20 feat: support eslint v8 2021-10-16 21:50:00 +08:00
HBS
3b079f9425 feat: use yaml-eslint-parser (#63) 2021-10-09 12:32:28 +08:00
Anthony Fu
cc873c7f12 v0.9.0 2021-09-14 10:19:03 +08:00
Anthony Fu
d701469a55 fix: improve rules for specific files 2021-09-14 10:18:34 +08:00
15 changed files with 652 additions and 334 deletions

View File

@@ -3,6 +3,29 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16)
### Features
* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81))
* use yaml-eslint-parser ([#63](https://github.com/antfu/eslint-config/issues/63)) ([3b079f9](https://github.com/antfu/eslint-config/commit/3b079f94254639a6e9dc77b687350aaefcb7efe5))
# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14)
### Bug Fixes
* improve rules for specific files ([d701469](https://github.com/antfu/eslint-config/commit/d701469a551b2321cab6d75bf18eb71d96dd6f2a))
## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13)

View File

@@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "0.8.2"
"version": "0.10.0"
}

View File

@@ -11,8 +11,8 @@
},
"devDependencies": {
"@antfu/eslint-config": "*",
"eslint": "^7.32.0",
"eslint": "^8.0.1",
"lerna": "^4.0.0",
"typescript": "^4.4.2"
"typescript": "^4.4.4"
}
}

View File

@@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16)
### Features
* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81))
# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14)
### Bug Fixes
* improve rules for specific files ([d701469](https://github.com/antfu/eslint-config/commit/d701469a551b2321cab6d75bf18eb71d96dd6f2a))
## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13)
**Note:** Version bump only for package @antfu/eslint-config

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config",
"version": "0.8.2",
"version": "0.10.0",
"description": "",
"keywords": [],
"license": "MIT",
@@ -12,14 +12,28 @@
"peerDependencies": {
"eslint": ">=7.4.0"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-react": "^0.8.2",
"@antfu/eslint-config-vue": "^0.8.2"
"@antfu/eslint-config-react": "^0.10.0",
"@antfu/eslint-config-vue": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsonc": "^1.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unicorn": "^37.0.1",
"eslint-plugin-vue": "7.19.1",
"eslint-plugin-yml": "^0.10.1",
"jsonc-eslint-parser": "^1.4.1",
"yaml-eslint-parser": "^0.4.1"
},
"devDependencies": {
"eslint": "^7.32.0"
"eslint": "^8.0.1"
},
"publishConfig": {
"access": "public"
}
}

View File

@@ -3,6 +3,29 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16)
### Features
* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81))
* use yaml-eslint-parser ([#63](https://github.com/antfu/eslint-config/issues/63)) ([3b079f9](https://github.com/antfu/eslint-config/commit/3b079f94254639a6e9dc77b687350aaefcb7efe5))
# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14)
### Bug Fixes
* improve rules for specific files ([d701469](https://github.com/antfu/eslint-config/commit/d701469a551b2321cab6d75bf18eb71d96dd6f2a))
## [0.8.1](https://github.com/antfu/eslint-config/compare/v0.8.0...v0.8.1) (2021-09-08)

View File

@@ -11,7 +11,10 @@ module.exports = {
'plugin:jsonc/recommended-with-jsonc',
'plugin:yml/standard',
],
plugins: ['html', 'unicorn'],
plugins: [
'html',
'unicorn',
],
settings: {
'import/resolver': {
node: { extensions: ['.js', '.mjs', '.ts', '.d.ts'] },
@@ -27,6 +30,10 @@ module.exports = {
'comma-dangle': ['error', 'never'],
},
},
{
files: ["*.yaml", "*.yml"],
parser: "yaml-eslint-parser",
},
{
files: ['package.json'],
parser: 'jsonc-eslint-parser',
@@ -68,6 +75,24 @@ module.exports = {
],
},
},
{
files: ['*.d.ts'],
rules: {
'import/no-duplicates': 'off',
},
},
{
files: ['*.js'],
rules: {
'@typescript-eslint/no-var-requires': 'off',
},
},
{
files: ['scripts/**/*.*'],
rules: {
'no-console': 'off',
},
},
],
rules: {
// import

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-basic",
"version": "0.8.1",
"version": "0.10.0",
"description": "",
"keywords": [],
"license": "MIT",
@@ -12,26 +12,26 @@
"scripts": {
"lint": "eslint . --config=index.js"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"eslint": ">=7.4.0"
},
"dependencies": {
"eslint-config-standard": "^16.0.3",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsonc": "^1.6.0",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsonc": "^1.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-unicorn": "^35.0.0",
"eslint-plugin-yml": "^0.10.0",
"jsonc-eslint-parser": "^1.3.1",
"eslint-plugin-unicorn": "^37.0.1",
"eslint-plugin-yml": "^0.10.1",
"jsonc-eslint-parser": "^1.4.1",
"yaml-eslint-parser": "^0.4.1"
},
"devDependencies": {
"eslint": "^7.32.0"
"eslint": "^8.0.1"
},
"publishConfig": {
"access": "public"
}
}

View File

@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16)
### Features
* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81))
# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13)
**Note:** Version bump only for package @antfu/eslint-config-react

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-react",
"version": "0.8.2",
"version": "0.10.0",
"description": "",
"keywords": [],
"license": "MIT",
@@ -19,12 +19,12 @@
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-ts": "^0.8.2",
"eslint-plugin-react": "^7.25.1"
"@antfu/eslint-config-ts": "^0.10.0",
"eslint-plugin-react": "^7.26.1"
},
"devDependencies": {
"eslint": "^7.32.0",
"eslint": "^8.0.1",
"react": "^17.0.2",
"typescript": "^4.4.2"
"typescript": "^4.4.4"
}
}

View File

@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16)
### Features
* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81))
# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13)

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-ts",
"version": "0.8.2",
"version": "0.10.0",
"description": "",
"keywords": [],
"license": "MIT",
@@ -17,11 +17,11 @@
"typescript": ">=3.9"
},
"dependencies": {
"@antfu/eslint-config-basic": "^0.8.1",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0"
"@antfu/eslint-config-basic": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0"
},
"devDependencies": {
"eslint": "^7.32.0"
"eslint": "^8.0.1"
}
}

View File

@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.10.0](https://github.com/antfu/eslint-config/compare/v0.9.0...v0.10.0) (2021-10-16)
### Features
* support eslint v8 ([e9027d5](https://github.com/antfu/eslint-config/commit/e9027d5e20540dd6c6adb6a970a6dcbcf7314a81))
# [0.9.0](https://github.com/antfu/eslint-config/compare/v0.8.2...v0.9.0) (2021-09-14)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.8.2](https://github.com/antfu/eslint-config/compare/v0.8.1...v0.8.2) (2021-09-13)

View File

@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-vue",
"version": "0.8.2",
"version": "0.10.0",
"description": "",
"keywords": [],
"license": "MIT",
@@ -16,10 +16,10 @@
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-ts": "^0.8.2",
"eslint-plugin-vue": "7.17.0"
"@antfu/eslint-config-ts": "^0.10.0",
"eslint-plugin-vue": "7.19.1"
},
"devDependencies": {
"eslint": "^7.32.0"
"eslint": "^8.0.1"
}
}

750
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff