Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
a8d7a3401b | ||
|
46e9ea35b9 | ||
|
392f70ffc4 | ||
|
d45487e1f6 | ||
|
37439ec91a | ||
|
0722603cfe |
33
CHANGELOG.md
33
CHANGELOG.md
@@ -3,6 +3,39 @@
|
|||||||
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.14.1](https://github.com/antfu/eslint-config/compare/v0.14.0...v0.14.1) (2021-12-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* disable vue attrs wrap ([46e9ea3](https://github.com/antfu/eslint-config/commit/46e9ea35b9ba4d112cdd0290f0f3cd0309c79416))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [0.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* enable sort-imports ([d45487e](https://github.com/antfu/eslint-config/commit/d45487e1f606ce88ca2e36b93953a1af4b726bc1))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* `no-use-before-define` for functions ([0722603](https://github.com/antfu/eslint-config/commit/0722603cfee659abab80e9e7f30a8112702ccc12))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -2,5 +2,5 @@
|
|||||||
"packages": [
|
"packages": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
"version": "0.13.0"
|
"version": "0.14.1"
|
||||||
}
|
}
|
||||||
|
@@ -3,6 +3,30 @@
|
|||||||
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.14.1](https://github.com/antfu/eslint-config/compare/v0.14.0...v0.14.1) (2021-12-27)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @antfu/eslint-config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [0.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @antfu/eslint-config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @antfu/eslint-config
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
||||||
|
|
||||||
**Note:** Version bump only for package @antfu/eslint-config
|
**Note:** Version bump only for package @antfu/eslint-config
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config",
|
"name": "@antfu/eslint-config",
|
||||||
"version": "0.13.0",
|
"version": "0.14.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -13,8 +13,8 @@
|
|||||||
"eslint": ">=7.4.0"
|
"eslint": ">=7.4.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antfu/eslint-config-react": "^0.13.0",
|
"@antfu/eslint-config-react": "^0.14.0",
|
||||||
"@antfu/eslint-config-vue": "^0.13.0",
|
"@antfu/eslint-config-vue": "^0.14.1",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||||
"@typescript-eslint/parser": "^5.4.0",
|
"@typescript-eslint/parser": "^5.4.0",
|
||||||
"eslint-config-standard": "^16.0.3",
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
@@ -3,6 +3,17 @@
|
|||||||
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.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* enable sort-imports ([d45487e](https://github.com/antfu/eslint-config/commit/d45487e1f606ce88ca2e36b93953a1af4b726bc1))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -229,5 +229,16 @@ module.exports = {
|
|||||||
'no-use-before-define': ['error', { functions: false, classes: false, variables: true }],
|
'no-use-before-define': ['error', { functions: false, classes: false, variables: true }],
|
||||||
'eslint-comments/disable-enable-pair': 'off',
|
'eslint-comments/disable-enable-pair': 'off',
|
||||||
'import/no-named-as-default-member': 'off',
|
'import/no-named-as-default-member': 'off',
|
||||||
|
|
||||||
|
'sort-imports': [
|
||||||
|
'error',
|
||||||
|
{
|
||||||
|
ignoreCase: false,
|
||||||
|
ignoreDeclarationSort: true,
|
||||||
|
ignoreMemberSort: false,
|
||||||
|
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
|
||||||
|
allowSeparatedGroups: false,
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config-basic",
|
"name": "@antfu/eslint-config-basic",
|
||||||
"version": "0.13.0",
|
"version": "0.14.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@@ -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.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @antfu/eslint-config-react
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @antfu/eslint-config-react
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
||||||
|
|
||||||
**Note:** Version bump only for package @antfu/eslint-config-react
|
**Note:** Version bump only for package @antfu/eslint-config-react
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config-react",
|
"name": "@antfu/eslint-config-react",
|
||||||
"version": "0.13.0",
|
"version": "0.14.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antfu/eslint-config-ts": "^0.13.0",
|
"@antfu/eslint-config-ts": "^0.14.0",
|
||||||
"eslint-plugin-react": "^7.27.1"
|
"eslint-plugin-react": "^7.27.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@@ -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.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @antfu/eslint-config-ts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* `no-use-before-define` for functions ([0722603](https://github.com/antfu/eslint-config/commit/0722603cfee659abab80e9e7f30a8112702ccc12))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
||||||
|
|
||||||
|
|
||||||
|
@@ -25,7 +25,7 @@ module.exports = {
|
|||||||
'no-redeclare': 'off',
|
'no-redeclare': 'off',
|
||||||
'@typescript-eslint/no-redeclare': 'error',
|
'@typescript-eslint/no-redeclare': 'error',
|
||||||
'no-use-before-define': 'off',
|
'no-use-before-define': 'off',
|
||||||
'@typescript-eslint/no-use-before-define': ['error'],
|
'@typescript-eslint/no-use-before-define': ['error', { functions: false, classes: false, variables: true }],
|
||||||
|
|
||||||
// off
|
// off
|
||||||
'@typescript-eslint/camelcase': 'off',
|
'@typescript-eslint/camelcase': 'off',
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config-ts",
|
"name": "@antfu/eslint-config-ts",
|
||||||
"version": "0.13.0",
|
"version": "0.14.0",
|
||||||
"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.13.0",
|
"@antfu/eslint-config-basic": "^0.14.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||||
"@typescript-eslint/parser": "^5.4.0"
|
"@typescript-eslint/parser": "^5.4.0"
|
||||||
},
|
},
|
||||||
|
@@ -3,6 +3,33 @@
|
|||||||
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.14.1](https://github.com/antfu/eslint-config/compare/v0.14.0...v0.14.1) (2021-12-27)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* disable vue attrs wrap ([46e9ea3](https://github.com/antfu/eslint-config/commit/46e9ea35b9ba4d112cdd0290f0f3cd0309c79416))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [0.14.0](https://github.com/antfu/eslint-config/compare/v0.13.1...v0.14.0) (2021-12-18)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @antfu/eslint-config-vue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [0.13.1](https://github.com/antfu/eslint-config/compare/v0.13.0...v0.13.1) (2021-12-12)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @antfu/eslint-config-vue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
# [0.13.0](https://github.com/antfu/eslint-config/compare/v0.12.2...v0.13.0) (2021-12-12)
|
||||||
|
|
||||||
**Note:** Version bump only for package @antfu/eslint-config-vue
|
**Note:** Version bump only for package @antfu/eslint-config-vue
|
||||||
|
@@ -18,7 +18,7 @@ module.exports = {
|
|||||||
'@antfu/eslint-config-ts',
|
'@antfu/eslint-config-ts',
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
'vue/max-attributes-per-line': ['warn', { singleline: 5 }],
|
'vue/max-attributes-per-line': 'off',
|
||||||
'vue/no-v-html': 'off',
|
'vue/no-v-html': 'off',
|
||||||
'vue/require-prop-types': 'off',
|
'vue/require-prop-types': 'off',
|
||||||
'vue/require-default-prop': 'off',
|
'vue/require-default-prop': 'off',
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@antfu/eslint-config-vue",
|
"name": "@antfu/eslint-config-vue",
|
||||||
"version": "0.13.0",
|
"version": "0.14.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@antfu/eslint-config-ts": "^0.13.0",
|
"@antfu/eslint-config-ts": "^0.14.0",
|
||||||
"eslint-plugin-vue": "^8.1.1"
|
"eslint-plugin-vue": "^8.1.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
Reference in New Issue
Block a user