Compare commits

...

5 Commits

Author SHA1 Message Date
Anthony Fu
5a67962e25 v0.6.5 2021-05-09 15:45:45 +08:00
Anthony Fu
ab21039962 fix: no-console 2021-05-09 15:45:31 +08:00
JserWang
c968eccbcd fix: no-spaced-func was deprecated in v3.3.0 (#57) 2021-04-26 10:21:39 +08:00
Anthony Fu
6646d1c08c v0.6.4 2021-04-20 07:03:25 +08:00
Anthony Fu
8f3f8f5a42 fix: overrides 2021-04-20 07:03:18 +08:00
14 changed files with 120 additions and 15 deletions

View File

@@ -3,6 +3,29 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09)
### Bug Fixes
* `no-spaced-func` was deprecated in v3.3.0 ([#57](https://github.com/antfu/eslint-config/issues/57)) ([c968ecc](https://github.com/antfu/eslint-config/commit/c968eccbcda3f94fb8b66ed08051c41bde3acb48))
* no-console ([ab21039](https://github.com/antfu/eslint-config/commit/ab21039962d1e24f026714abd394dbea19199eb2))
## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19)
### Bug Fixes
* overrides ([8f3f8f5](https://github.com/antfu/eslint-config/commit/8f3f8f5a42e1864b42ba7b276b1e8efdb2e80e27))
## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) ## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19)

View File

@@ -2,5 +2,5 @@
"packages": [ "packages": [
"packages/*" "packages/*"
], ],
"version": "0.6.3" "version": "0.6.5"
} }

View File

@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09)
**Note:** Version bump only for package @antfu/eslint-config
## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19)
**Note:** Version bump only for package @antfu/eslint-config
## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) ## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19)
**Note:** Version bump only for package @antfu/eslint-config **Note:** Version bump only for package @antfu/eslint-config

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config", "name": "@antfu/eslint-config",
"version": "0.6.3", "version": "0.6.5",
"description": "", "description": "",
"keywords": [], "keywords": [],
"license": "MIT", "license": "MIT",
@@ -16,8 +16,8 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-react": "^0.6.3", "@antfu/eslint-config-react": "^0.6.5",
"@antfu/eslint-config-vue": "^0.6.3" "@antfu/eslint-config-vue": "^0.6.5"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.22.0" "eslint": "^7.22.0"

View File

@@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09)
### Bug Fixes
* `no-spaced-func` was deprecated in v3.3.0 ([#57](https://github.com/antfu/eslint-config/issues/57)) ([c968ecc](https://github.com/antfu/eslint-config/commit/c968eccbcda3f94fb8b66ed08051c41bde3acb48))
* no-console ([ab21039](https://github.com/antfu/eslint-config/commit/ab21039962d1e24f026714abd394dbea19199eb2))
## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) ## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19)
**Note:** Version bump only for package @antfu/eslint-config-basic **Note:** Version bump only for package @antfu/eslint-config-basic

View File

@@ -93,8 +93,8 @@ module.exports = {
'comma-style': ['error', 'last'], 'comma-style': ['error', 'last'],
'comma-dangle': ['error', 'always-multiline'], 'comma-dangle': ['error', 'always-multiline'],
'no-constant-condition': 'warn', 'no-constant-condition': 'warn',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': 'error',
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-console': 'error',
'no-cond-assign': ['error', 'always'], 'no-cond-assign': ['error', 'always'],
'func-call-spacing': ['off', 'never'], 'func-call-spacing': ['off', 'never'],
'key-spacing': ['error', { beforeColon: false, afterColon: true }], 'key-spacing': ['error', { beforeColon: false, afterColon: true }],
@@ -106,7 +106,6 @@ module.exports = {
'LabeledStatement', 'LabeledStatement',
'WithStatement', 'WithStatement',
], ],
'no-spaced-func': 'error',
'object-curly-spacing': ['error', 'always'], 'object-curly-spacing': ['error', 'always'],
'no-return-await': 'off', 'no-return-await': 'off',
'space-before-function-paren': ['error', 'never'], 'space-before-function-paren': ['error', 'never'],

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-basic", "name": "@antfu/eslint-config-basic",
"version": "0.6.3", "version": "0.6.5",
"description": "", "description": "",
"keywords": [], "keywords": [],
"license": "MIT", "license": "MIT",

View File

@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) ## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19)
**Note:** Version bump only for package @antfu/eslint-config-react **Note:** Version bump only for package @antfu/eslint-config-react

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-react", "name": "@antfu/eslint-config-react",
"version": "0.6.3", "version": "0.6.5",
"description": "", "description": "",
"keywords": [], "keywords": [],
"license": "MIT", "license": "MIT",
@@ -19,7 +19,7 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-ts": "^0.6.3", "@antfu/eslint-config-ts": "^0.6.5",
"eslint-plugin-react": "^7.22.0" "eslint-plugin-react": "^7.22.0"
}, },
"devDependencies": { "devDependencies": {

View File

@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19)
### Bug Fixes
* overrides ([8f3f8f5](https://github.com/antfu/eslint-config/commit/8f3f8f5a42e1864b42ba7b276b1e8efdb2e80e27))
## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) ## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19)

View File

@@ -1,8 +1,12 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const basic = require('@antfu/eslint-config-basic')
module.exports = { module.exports = {
extends: [ extends: [
'plugin:@typescript-eslint/recommended',
'@antfu/eslint-config-basic', '@antfu/eslint-config-basic',
'plugin:@typescript-eslint/recommended',
], ],
overrides: basic.overrides,
rules: { rules: {
// TS // TS
'no-useless-constructor': 'off', 'no-useless-constructor': 'off',

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-ts", "name": "@antfu/eslint-config-ts",
"version": "0.6.3", "version": "0.6.5",
"description": "", "description": "",
"keywords": [], "keywords": [],
"license": "MIT", "license": "MIT",
@@ -17,7 +17,7 @@
"typescript": ">=3.9" "typescript": ">=3.9"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-basic": "^0.6.3", "@antfu/eslint-config-basic": "^0.6.5",
"@typescript-eslint/eslint-plugin": "^4.17.0", "@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0" "@typescript-eslint/parser": "^4.17.0"
}, },

View File

@@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.6.5](https://github.com/antfu/eslint-config/compare/v0.6.4...v0.6.5) (2021-05-09)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.6.4](https://github.com/antfu/eslint-config/compare/v0.6.3...v0.6.4) (2021-04-19)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19) ## [0.6.3](https://github.com/antfu/eslint-config/compare/v0.6.2...v0.6.3) (2021-04-19)
**Note:** Version bump only for package @antfu/eslint-config-vue **Note:** Version bump only for package @antfu/eslint-config-vue

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-vue", "name": "@antfu/eslint-config-vue",
"version": "0.6.3", "version": "0.6.5",
"description": "", "description": "",
"keywords": [], "keywords": [],
"license": "MIT", "license": "MIT",
@@ -16,7 +16,7 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-ts": "^0.6.3", "@antfu/eslint-config-ts": "^0.6.5",
"eslint-plugin-vue": "7.7.0" "eslint-plugin-vue": "7.7.0"
}, },
"devDependencies": { "devDependencies": {