Skip to content

Commit 348a496

Browse files
committed
chore: update yarn format, lint & lint-staged scripts
1 parent d6f09de commit 348a496

File tree

3 files changed

+8
-20
lines changed

3 files changed

+8
-20
lines changed

.lintstagedrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"**/*.js": ["yarn format", "yarn lint"]
2+
"*.{js,json,md,yml}": "yarn format",
3+
"*.js": "yarn lint"
34
}

CHANGELOG.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,24 @@ All notable changes to this project will be documented in this file. See [standa
66

77
### [1.1.4](https://github.com/boringcodes/eslint-config-typescript/compare/v1.1.3...v1.1.4) (2020-03-28)
88

9-
10-
119
### [1.1.3](https://github.com/boringcodes/eslint-config-typescript/compare/v1.1.2...v1.1.3) (2020-03-28)
1210

13-
14-
1511
### [1.1.2](https://github.com/boringcodes/eslint-config-typescript/compare/v1.1.1...v1.1.2) (2020-03-28)
1612

17-
1813
### Bug Fixes
1914

20-
* add @typescript-eslint/parser to dev & peer deps to resolve unmet peer dep ([c1533f1](https://github.com/boringcodes/eslint-config-typescript/commit/c1533f1))
21-
22-
15+
- add @typescript-eslint/parser to dev & peer deps to resolve unmet peer dep ([c1533f1](https://github.com/boringcodes/eslint-config-typescript/commit/c1533f1))
2316

2417
### [1.1.1](https://github.com/boringcodes/eslint-config-typescript/compare/v1.1.0...v1.1.1) (2020-03-28)
2518

26-
27-
2819
## [1.1.0](https://github.com/boringcodes/eslint-config-typescript/compare/v1.0.0...v1.1.0) (2020-03-28)
2920

30-
3121
### Features
3222

33-
* replace eslint-config-standard with eslint-config-standard-with-typescript, use @boringcodes/eslint-config for linting this repo ([84fa60a](https://github.com/boringcodes/eslint-config-typescript/commit/84fa60a))
34-
35-
23+
- replace eslint-config-standard with eslint-config-standard-with-typescript, use @boringcodes/eslint-config for linting this repo ([84fa60a](https://github.com/boringcodes/eslint-config-typescript/commit/84fa60a))
3624

3725
## 1.0.0 (2020-03-28)
3826

39-
4027
### Features
4128

42-
* init source ([28e662f](https://github.com/boringcodes/eslint-config-typescript/commit/28e662f))
29+
- init source ([28e662f](https://github.com/boringcodes/eslint-config-typescript/commit/28e662f))

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"main": "index.js",
1111
"scripts": {
1212
"purge": "rm -rf node_modules",
13-
"format": "prettier --write --ignore-path .gitignore **/*.js",
14-
"format:check": "prettier --check --ignore-path .gitignore **/*.js",
15-
"lint": "eslint --ignore-path .gitignore **/*.js",
13+
"format": "prettier --write --ignore-path .gitignore .",
14+
"format:check": "prettier --check --ignore-path .gitignore .",
15+
"lint": "eslint --quiet --ignore-path .gitignore .",
1616
"release": "standard-version --no-verify",
1717
"release:major": "yarn release --release-as major",
1818
"release:minor": "yarn release --release-as minor",

0 commit comments

Comments
 (0)