Skip to content

Commit 02475f1

Browse files
chore: ignore changelog
1 parent 9c0507b commit 02475f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
"eslint --report-unused-disable-directives",
77
"git add"
88
],
9-
"*.{md,markdown,mdown,mkdn,mkd,mdwn,mkdown,ron}": [
9+
"!(CHANGELOG).{md,markdown,mdown,mkdn,mkd,mdwn,mkdown,ron}": [
1010
"prettier --list-different",
1111
"remark -f -q",
1212
"git add"

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@
8282
"scripts": {
8383
"prebuild": "rimraf dist",
8484
"build": "babel src --out-dir dist --ignore /__tests__/",
85-
"lint:prettier": "prettier --list-different '{src,__tests__}/**/*.{js,mjs,jsx,md,yml,yaml}' '*.{js,mjs,md,yml,yaml}'",
85+
"lint:prettier": "prettier --list-different '{src,__tests__}/**/*.{js,mjs,jsx,md,yml,yaml}' '*.{js,mjs,md,yml,yaml}' '!CHANGELOG.md'",
8686
"lint:js": "eslint . --cache --report-unused-disable-directives --ignore-path .gitignore --ext '.js,.mjs,.jsx,md'",
8787
"lint:md": "remark . -i .gitignore -f -q",
8888
"lint": "npm-run-all -l -p 'lint:**'",
89-
"prettify": "npm run lint:prettier -- --write",
89+
"prettier": "npm run lint:prettier -- --write",
9090
"fix:eslint": "npm run lint:js -- --fix",
91-
"fix": "npm-run-all -l prettify -p 'fix:**'",
91+
"fix": "npm-run-all -l prettier -p 'fix:**'",
9292
"prepare": "npm run build",
9393
"release": "standard-version",
9494
"test:only": "jest",

0 commit comments

Comments
 (0)