Skip to content

Commit d47f575

Browse files
Allow empty input on the styles check (the template starts without any)
1 parent ac78123 commit d47f575

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [main]
88

99
jobs:
10-
lint:
10+
lint-and-build:
1111
runs-on: ubuntu-latest
1212

1313
steps:
@@ -29,4 +29,4 @@ jobs:
2929
run: npm run format:check
3030

3131
- name: Run build
32-
run: npm build
32+
run: npm run build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"start:production": "cross-env MAIN_ARGS=\"--extensionDirs $INIT_CWD/dist\" concurrently \"npm:watch:production\" \"npm:start:core\"",
2222
"lint": "npm run lint:scripts && npm run lint:styles",
2323
"lint:scripts": "cross-env NODE_ENV=development eslint --ext .cjs,.js,.jsx,.ts,.tsx --cache .",
24-
"lint:styles": "stylelint **/*.{css,scss}",
24+
"lint:styles": "stylelint **/*.{css,scss} --allow-empty-input",
2525
"lint-fix": "npm run lint-fix:scripts && npm run lint:styles -- --fix",
2626
"lint-fix:scripts": "npm run format && npm run lint:scripts",
2727
"postinstall": "tsx ./lib/add-remotes.ts",

0 commit comments

Comments
 (0)