Skip to content

Commit 6aa7c19

Browse files
committed
fix linting playground sources does not work on Windows
1 parent c9a84fe commit 6aa7c19

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

playground/.prettierrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"trailingComma": "es5",
66
"printWidth": 120,
77
"arrowParens": "avoid",
8+
"endOfLine": "auto",
89
"overrides": [
910
{
1011
"files": "*.css",

playground/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"main": "main.js",
77
"scripts": {
88
"lint:stylelint": "stylelint style.css",
9-
"lint:prettier": "prettier --check '*.ts' '*.mjs'",
10-
"lint:eslint": "eslint --max-warnings 0 '*.ts' '*.mjs'",
9+
"lint:prettier": "prettier --check *.ts *.mjs",
10+
"lint:eslint": "eslint --max-warnings 0 *.ts *.mjs",
1111
"lint:tsc-eslint": "tsc -p tsconfig.eslint.json",
1212
"lint": "npm run lint:prettier && npm run lint:eslint && npm run lint:stylelint && npm run lint:tsc-eslint",
13-
"prettier": "prettier --write '*.ts' '*.mjs'",
13+
"prettier": "prettier --write *.ts *.mjs",
1414
"build": "tsc -p .",
1515
"watch": "tsc -p . --watch",
1616
"serve": "http-server . -p 1234",

0 commit comments

Comments
 (0)