Compare commits

...

7 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
18 changed files with 2213 additions and 2570 deletions

View File

@@ -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

View File

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

View File

@@ -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"
}
}

View File

@@ -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

View File

@@ -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"
}
}

View File

@@ -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

View File

@@ -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',

View File

@@ -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"
}
}

View File

@@ -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

View File

@@ -3,6 +3,11 @@ module.exports = {
'plugin:react/recommended',
'@antfu/eslint-config-ts',
],
settings: {
react: {
version: 'detect',
},
},
rules: {
'jsx-quotes': [
'error',

View File

@@ -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"
}
}

View File

@@ -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

View File

@@ -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',

View File

@@ -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"
}
}

View File

@@ -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

View File

@@ -12,5 +12,6 @@ module.exports = {
],
rules: {
'vue/max-attributes-per-line': ['warn', { singleline: 5 }],
'vue/html-self-closing': 'off'
},
}

View File

@@ -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

File diff suppressed because it is too large Load Diff