Skip to content

Commit 83ccaa2

Browse files
committed
chore: update yarn format, lint & lint-staged scripts
1 parent b30ffc3 commit 83ccaa2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
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: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ All notable changes to this project will be documented in this file. See [standa
66

77
## [1.1.0](https://github.com/boringcodes/create-dotgithub/compare/v1.0.1...v1.1.0) (2020-10-22)
88

9-
109
### Features
1110

12-
* **generators:** dotgithub repo renamed to .github, filter out not .yml files ([c7f006f](https://github.com/boringcodes/create-dotgithub/commit/c7f006ffceca04bf46cc875c6fe0bee9445a552a))
11+
- **generators:** dotgithub repo renamed to .github, filter out not .yml files ([c7f006f](https://github.com/boringcodes/create-dotgithub/commit/c7f006ffceca04bf46cc875c6fe0bee9445a552a))
1312

1413
### [1.0.1](https://github.com/boringcodes/create-dotgithub/compare/v1.0.0...v1.0.1) (2020-03-28)
1514

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
],
1414
"scripts": {
1515
"purge": "rm -rf node_modules",
16-
"format": "prettier --write --ignore-path .gitignore **/*.js",
17-
"format:check": "prettier --check --ignore-path .gitignore **/*.js",
18-
"lint": "eslint --ignore-path .gitignore **/*.js",
16+
"format": "prettier --write --ignore-path .gitignore .",
17+
"format:check": "prettier --check --ignore-path .gitignore .",
18+
"lint": "eslint --quiet --ignore-path .gitignore .",
1919
"release": "standard-version --no-verify",
2020
"release:major": "yarn release --release-as major",
2121
"release:minor": "yarn release --release-as minor",

0 commit comments

Comments
 (0)