Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: antfu/eslint-config
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.18.4
Choose a base ref
...
head repository: antfu/eslint-config
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.18.5
Choose a head ref
  • 3 commits
  • 14 files changed
  • 1 contributor

Commits on Mar 10, 2022

  1. chore: update readme

    antfu committed Mar 10, 2022
    Copy the full SHA
    b425b25 View commit details
  2. fix: package.json keys order

    antfu committed Mar 10, 2022
    Copy the full SHA
    97975da View commit details
  3. v0.18.5

    antfu committed Mar 10, 2022
    Copy the full SHA
    48cc619 View commit details
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10)


### Bug Fixes

* package.json keys order ([97975da](https://github.com/antfu/eslint-config/commit/97975dafc50c919b7a5a46fe94314e4f367bde22))





## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10)


15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -14,32 +14,23 @@ pnpm add -D eslint @antfu/eslint-config

```json
{
"extends": [
"@antfu"
]
"extends": "@antfu"
}
```

### Config `.eslintignore`

```txt
dist
public
```

### Add script for package.json

For example:

```json
{
"scripts": {
"lint": "eslint \"**/*.{vue,ts,js}\""
"lint": "eslint ."
}
}
```

### Config VSCode auto fix
### Config VS Code auto fix

Create `.vscode/settings.json`

2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "0.18.4"
"version": "0.18.5"
}
8 changes: 8 additions & 0 deletions packages/all/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10)

**Note:** Version bump only for package @antfu/eslint-config





## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10)

**Note:** Version bump only for package @antfu/eslint-config
6 changes: 3 additions & 3 deletions packages/all/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config",
"version": "0.18.4",
"version": "0.18.5",
"description": "",
"keywords": [],
"license": "MIT",
@@ -13,8 +13,8 @@
"eslint": ">=7.4.0"
},
"dependencies": {
"@antfu/eslint-config-react": "^0.18.4",
"@antfu/eslint-config-vue": "^0.18.4",
"@antfu/eslint-config-react": "^0.18.5",
"@antfu/eslint-config-vue": "^0.18.5",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"eslint-config-standard": "17.0.0-1",
11 changes: 11 additions & 0 deletions packages/basic/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10)


### Bug Fixes

* package.json keys order ([97975da](https://github.com/antfu/eslint-config/commit/97975dafc50c919b7a5a46fe94314e4f367bde22))





## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10)


8 changes: 4 additions & 4 deletions packages/basic/index.js
Original file line number Diff line number Diff line change
@@ -66,14 +66,14 @@ module.exports = {
'author',
'repository',
'funding',
'bin',
'exports',
'files',
'jsdelivr',
'main',
'module',
'types',
'unpkg',
'jsdelivr',
'exports',
'bin',
'files',
'scripts',
'peerDependencies',
'peerDependenciesMeta',
2 changes: 1 addition & 1 deletion packages/basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-basic",
"version": "0.18.4",
"version": "0.18.5",
"description": "",
"keywords": [],
"license": "MIT",
8 changes: 8 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10)

**Note:** Version bump only for package @antfu/eslint-config-react





## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10)

**Note:** Version bump only for package @antfu/eslint-config-react
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-react",
"version": "0.18.4",
"version": "0.18.5",
"description": "",
"keywords": [],
"license": "MIT",
@@ -19,7 +19,7 @@
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-ts": "^0.18.4",
"@antfu/eslint-config-ts": "^0.18.5",
"eslint-plugin-react": "^7.29.3"
},
"devDependencies": {
8 changes: 8 additions & 0 deletions packages/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10)

**Note:** Version bump only for package @antfu/eslint-config-ts





## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10)

**Note:** Version bump only for package @antfu/eslint-config-ts
4 changes: 2 additions & 2 deletions packages/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-ts",
"version": "0.18.4",
"version": "0.18.5",
"description": "",
"keywords": [],
"license": "MIT",
@@ -17,7 +17,7 @@
"typescript": ">=3.9"
},
"dependencies": {
"@antfu/eslint-config-basic": "^0.18.4",
"@antfu/eslint-config-basic": "^0.18.5",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0"
},
8 changes: 8 additions & 0 deletions packages/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.18.5](https://github.com/antfu/eslint-config/compare/v0.18.4...v0.18.5) (2022-03-10)

**Note:** Version bump only for package @antfu/eslint-config-vue





## [0.18.4](https://github.com/antfu/eslint-config/compare/v0.18.3...v0.18.4) (2022-03-10)

**Note:** Version bump only for package @antfu/eslint-config-vue
4 changes: 2 additions & 2 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antfu/eslint-config-vue",
"version": "0.18.4",
"version": "0.18.5",
"description": "",
"keywords": [],
"license": "MIT",
@@ -16,7 +16,7 @@
"access": "public"
},
"dependencies": {
"@antfu/eslint-config-ts": "^0.18.4",
"@antfu/eslint-config-ts": "^0.18.5",
"eslint-plugin-vue": "^8.5.0"
},
"devDependencies": {