Skip to content

Commit 7dda60d

Browse files
committed
Ensure all SCSS files are formatted with prettier
1 parent 228900f commit 7dda60d

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ jobs:
1313
- run: yarn install
1414
- run: yarn lint:js
1515
- run: yarn lint:md
16+
- run: yarn lint:scss

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ See [`docs/config.md`](docs/config.md) for all available options.
101101
- Run `yarn serve` to compile for development and start the hot-reload server
102102
- Run `yarn lint:js` to lint JavaScript/Vue files
103103
- Run `yarn lint:md` to lint Markdown files
104+
- Run `yarn lint:scss` to lint SCSS files
104105
- Run `yarn format:js` to format JavaScript/Vue files
105106
- Run `yarn format:md` to format Markdown files
107+
- Run `yarn format:scss` to format SCSS files
106108
- Run `yarn test` to run unit tests
107109

108110
### CORS-Proxy

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
"cors-proxy": "node scripts/corsProxy.js",
1212
"format:js": "vue-cli-service lint",
1313
"format:md": "prettier --write '{*.md,docs/**/*.md,src/**/*.md}'",
14+
"format:scss": "prettier --write 'src/**/*.scss'",
1415
"i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'",
1516
"lint:js": "vue-cli-service lint --no-fix",
1617
"lint:md": "prettier --check '{*.md,docs/**/*.md,src/**/*.md}'",
18+
"lint:scss": "prettier --check 'src/**/*.scss'",
1719
"test": "vue-cli-service test:unit"
1820
},
1921
"dependencies": {

src/styles/_base.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
--pin-width: 32px;
1616
}
1717

18-
html, body {
18+
html,
19+
body {
1920
height: 100%;
2021
}
2122

@@ -85,7 +86,8 @@ pre {
8586
display: block;
8687
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console",
8788
"Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
88-
"Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
89+
"Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier,
90+
monospace;
8991
overflow-x: auto;
9092

9193
code {

0 commit comments

Comments
 (0)