Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
03ce850ef4 | ||
|
c4a684032b | ||
|
5678d9f5c3 | ||
|
3f7f753a5a | ||
|
4cc878512b | ||
|
a3dd80c160 | ||
|
33b93946af |
27
CHANGELOG.md
27
CHANGELOG.md
@@ -3,6 +3,33 @@
|
||||
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
|
||||
|
@@ -2,5 +2,5 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"version": "0.4.1"
|
||||
"version": "0.5.0"
|
||||
}
|
||||
|
@@ -11,8 +11,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "*",
|
||||
"eslint": "^7.11.0",
|
||||
"lerna": "^3.22.1",
|
||||
"typescript": "^4.0.3"
|
||||
"eslint": "^7.22.0",
|
||||
"lerna": "^4.0.0",
|
||||
"typescript": "^4.2.3"
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,30 @@
|
||||
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
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config",
|
||||
"version": "0.4.1",
|
||||
"version": "0.5.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"keywords": [],
|
||||
@@ -16,10 +16,10 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-react": "^0.4.1",
|
||||
"@antfu/eslint-config-vue": "^0.4.1"
|
||||
"@antfu/eslint-config-react": "^0.5.0",
|
||||
"@antfu/eslint-config-vue": "^0.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.11.0"
|
||||
"eslint": "^7.22.0"
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,33 @@
|
||||
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
|
||||
|
@@ -4,7 +4,12 @@ module.exports = {
|
||||
browser: true,
|
||||
node: true,
|
||||
},
|
||||
extends: ['standard', 'plugin:import/errors', 'plugin:import/warnings'],
|
||||
extends: [
|
||||
'standard',
|
||||
'plugin:import/errors',
|
||||
'plugin:import/warnings',
|
||||
'plugin:eslint-comments/recommended',
|
||||
],
|
||||
plugins: ['html', 'unicorn'],
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
@@ -38,11 +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',
|
||||
@@ -53,7 +54,7 @@ module.exports = {
|
||||
'no-spaced-func': 'error',
|
||||
'object-curly-spacing': ['error', 'always'],
|
||||
'no-return-await': 'off',
|
||||
'space-before-function-paren': 'error',
|
||||
'space-before-function-paren': ['error', 'never'],
|
||||
|
||||
// es6
|
||||
'no-var': 'error',
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-basic",
|
||||
"version": "0.4.0",
|
||||
"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-html": "^6.1.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": "^23.0.0"
|
||||
"eslint-plugin-promise": "^4.3.1",
|
||||
"eslint-plugin-standard": "^5.0.0",
|
||||
"eslint-plugin-unicorn": "^28.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.11.0"
|
||||
"eslint": "^7.22.0",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0"
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,33 @@
|
||||
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
|
||||
|
@@ -3,6 +3,11 @@ module.exports = {
|
||||
'plugin:react/recommended',
|
||||
'@antfu/eslint-config-ts',
|
||||
],
|
||||
settings: {
|
||||
react: {
|
||||
version: 'detect',
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
'jsx-quotes': [
|
||||
'error',
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-react",
|
||||
"version": "0.4.1",
|
||||
"version": "0.5.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"keywords": [],
|
||||
@@ -19,12 +19,12 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-ts": "^0.4.1",
|
||||
"eslint-plugin-react": "^7.21.5"
|
||||
"@antfu/eslint-config-ts": "^0.5.0",
|
||||
"eslint-plugin-react": "^7.22.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.11.0",
|
||||
"react": "^16.14.0",
|
||||
"typescript": "^4.0.3"
|
||||
"eslint": "^7.22.0",
|
||||
"react": "^17.0.1",
|
||||
"typescript": "^4.2.3"
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,33 @@
|
||||
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
|
||||
|
@@ -16,7 +16,7 @@ module.exports = {
|
||||
'@typescript-eslint/type-annotation-spacing': ['error', {}],
|
||||
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': [2, { args: 'none', ignoreRestSiblings: true }],
|
||||
'@typescript-eslint/no-unused-vars': 'off',
|
||||
'no-redeclare': 'off',
|
||||
'@typescript-eslint/no-redeclare': 'error',
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-ts",
|
||||
"version": "0.4.1",
|
||||
"version": "0.5.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"keywords": [],
|
||||
@@ -17,11 +17,11 @@
|
||||
"typescript": ">=3.9"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-basic": "^0.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.5.0",
|
||||
"@typescript-eslint/parser": "^4.5.0"
|
||||
"@antfu/eslint-config-basic": "^0.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.17.0",
|
||||
"@typescript-eslint/parser": "^4.17.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.11.0"
|
||||
"eslint": "^7.22.0"
|
||||
}
|
||||
}
|
||||
|
@@ -3,6 +3,33 @@
|
||||
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
|
||||
|
@@ -12,5 +12,6 @@ module.exports = {
|
||||
],
|
||||
rules: {
|
||||
'vue/max-attributes-per-line': ['warn', { singleline: 5 }],
|
||||
'vue/html-self-closing': 'off'
|
||||
},
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-vue",
|
||||
"version": "0.4.1",
|
||||
"version": "0.5.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"keywords": [],
|
||||
@@ -16,10 +16,10 @@
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-ts": "^0.4.1",
|
||||
"eslint-plugin-vue": "7.1.0"
|
||||
"@antfu/eslint-config-ts": "^0.5.0",
|
||||
"eslint-plugin-vue": "7.7.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^7.11.0"
|
||||
"eslint": "^7.22.0"
|
||||
}
|
||||
}
|
||||
|
4540
pnpm-lock.yaml
generated
4540
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user