Skip to content

Commit c96cb2f

Browse files
committed
chore: update yarn format, lint & lint-staged scripts
1 parent ffc2b4b commit c96cb2f

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.lintstagedrc

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

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,15 @@ All notable changes to this project will be documented in this file. See [standa
66

77
## [1.3.0](https://github.com/boringcodes/create-service-component/compare/v1.2.0...v1.3.0) (2021-01-11)
88

9-
109
### Features
1110

12-
* **templates:** update http-status-codes import ([371a224](https://github.com/boringcodes/create-service-component/commit/371a2244bc857371b16804d7cf9d563c672cf1e7))
11+
- **templates:** update http-status-codes import ([371a224](https://github.com/boringcodes/create-service-component/commit/371a2244bc857371b16804d7cf9d563c672cf1e7))
1312

1413
## [1.2.0](https://github.com/boringcodes/create-service-component/compare/v1.1.1...v1.2.0) (2020-08-26)
1514

16-
1715
### Features
1816

19-
* **generators:** simplify generator props using singular & plural comp name; replace NAME & PLURAL_NAME consts with ENTITY & RESOURCE; remove count api & rename patch api to updatePartial; refactor controller ([55d6b70](https://github.com/boringcodes/create-service-component/commit/55d6b700df9ca5e21e495c71782df8aa7c890868))
17+
- **generators:** simplify generator props using singular & plural comp name; replace NAME & PLURAL_NAME consts with ENTITY & RESOURCE; remove count api & rename patch api to updatePartial; refactor controller ([55d6b70](https://github.com/boringcodes/create-service-component/commit/55d6b700df9ca5e21e495c71782df8aa7c890868))
2018

2119
### [1.1.1](https://github.com/boringcodes/create-service-component/compare/v1.1.0...v1.1.1) (2020-03-28)
2220

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 --ignore-pattern templates **/*.js",
16+
"format": "prettier --write --ignore-path .gitignore .",
17+
"format:check": "prettier --check --ignore-path .gitignore .",
18+
"lint": "eslint --quiet --ignore-path .gitignore --ignore-pattern templates .",
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)