Skip to content

Commit 1eae48c

Browse files
committed
Update to tasks for lint in package.json to align with Action workflow
1 parent 2fd4d2e commit 1eae48c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"format:code": "FORCE_COLOR=1 npx prettier --write \"@types/**/*.{js,ts}\" \"src/**/*.{js,ts,tsx,astro}\" --plugin=prettier-plugin-astro",
3636
"format:json": "FORCE_COLOR=1 npx prettier --write '**/*.json' --cache --ignore-path .gitignore",
3737
"format:style": "FORCE_COLOR=1 npx stylelint --fix \"src/**/*.{css,astro}\"",
38-
"lint": "npm run lint:json && npm run lint:style && npm run lint:tsc:check && npm run lint:code && npm run lint:actions && npm run check",
38+
"lint": "npm run lint:base && npm run lint:actions && npm run check",
39+
"lint:base": "npm run lint:json && npm run lint:style && npm run lint:tsc:check && npm run lint:code",
3940
"lint:code": "npx eslint \"@types/**/*.{js,ts}\" \"src/**/*.{js,ts,tsx,astro}\" \"test/**/*.{js,ts,tsx,astro}\"",
4041
"lint:tsc:check": "tsc --noEmit -p tsconfig.json --pretty false",
4142
"lint:json": "FORCE_COLOR=1 npx prettier --write '**/*.json' --cache --ignore-path .gitignore",

0 commit comments

Comments
 (0)