diff --git a/.prettierrc.yaml b/.prettierrc.yaml index b8a8009c4..5379f1e00 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -1,5 +1,5 @@ trailingComma: "es5" tabWidth: 4 semi: true -endOfLine: lf +endOfLine: auto printWidth: 80 \ No newline at end of file diff --git a/package.json b/package.json index 78281627d..730019a8e 100644 --- a/package.json +++ b/package.json @@ -284,10 +284,10 @@ "lint:ts": "tslint -c tslint.json src/**/*.{ts,tsx}", "lint:python": "pylint src", "format": "npm-run-all format:*", - "format:ts": "prettier --write src/**/*.{css,ts,tsx}", + "format:ts": "prettier --config .prettierrc.yaml --write src/**/*.{css,ts,tsx}", "format:python": "black src", "check": "npm-run-all check:*", - "check:ts": "prettier --check src/**/*.{css,ts,tsx}", + "check:ts": "prettier --config .prettierrc.yaml --check src/**/*.{css,ts,tsx}", "check:python": "black src --check", "package": "vsce package" },