From 591c562b2bab49ff68448ef18edf8f7c77919498 Mon Sep 17 00:00:00 2001 From: peterpeterparker Date: Sat, 25 Jan 2020 17:27:49 +0100 Subject: [PATCH] feat(#470): update prettier options for scss Signed-off-by: peterpeterparker --- docs/.prettierrc | 10 +++++++++- remote/.prettierrc | 10 +++++++++- studio/.prettierrc | 10 +++++++++- utils/deck/.prettierrc | 10 +++++++++- utils/slide/.prettierrc | 10 +++++++++- utils/types/.prettierrc | 10 +++++++++- utils/utils/.prettierrc | 10 +++++++++- webcomponents/charts/.prettierrc | 10 +++++++++- webcomponents/color/.prettierrc | 10 +++++++++- webcomponents/core/.prettierrc | 10 +++++++++- webcomponents/highlight-code/.prettierrc | 10 +++++++++- webcomponents/inline-editor/.prettierrc | 10 +++++++++- webcomponents/lazy-img/.prettierrc | 10 +++++++++- webcomponents/qrcode/.prettierrc | 10 +++++++++- webcomponents/remote/.prettierrc | 10 +++++++++- webcomponents/slides/author/.prettierrc | 10 +++++++++- webcomponents/slides/big-img/.prettierrc | 10 +++++++++- webcomponents/slides/chart/.prettierrc | 10 +++++++++- webcomponents/slides/code/.prettierrc | 10 +++++++++- webcomponents/slides/content/.prettierrc | 10 +++++++++- webcomponents/slides/countdown/.prettierrc | 10 +++++++++- webcomponents/slides/gif/.prettierrc | 10 +++++++++- webcomponents/slides/poll/.prettierrc | 10 +++++++++- webcomponents/slides/qrcode/.prettierrc | 10 +++++++++- webcomponents/slides/split/.prettierrc | 10 +++++++++- webcomponents/slides/title/.prettierrc | 10 +++++++++- webcomponents/slides/video/.prettierrc | 10 +++++++++- webcomponents/slides/youtube/.prettierrc | 10 +++++++++- webcomponents/social/.prettierrc | 10 +++++++++- webcomponents/youtube/.prettierrc | 10 +++++++++- 30 files changed, 270 insertions(+), 30 deletions(-) diff --git a/docs/.prettierrc b/docs/.prettierrc index 97111845a..55895b9a6 100644 --- a/docs/.prettierrc +++ b/docs/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/remote/.prettierrc b/remote/.prettierrc index 97111845a..55895b9a6 100644 --- a/remote/.prettierrc +++ b/remote/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/studio/.prettierrc b/studio/.prettierrc index 97111845a..55895b9a6 100644 --- a/studio/.prettierrc +++ b/studio/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/utils/deck/.prettierrc b/utils/deck/.prettierrc index 97111845a..55895b9a6 100644 --- a/utils/deck/.prettierrc +++ b/utils/deck/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/utils/slide/.prettierrc b/utils/slide/.prettierrc index 97111845a..55895b9a6 100644 --- a/utils/slide/.prettierrc +++ b/utils/slide/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/utils/types/.prettierrc b/utils/types/.prettierrc index 97111845a..55895b9a6 100644 --- a/utils/types/.prettierrc +++ b/utils/types/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/utils/utils/.prettierrc b/utils/utils/.prettierrc index 97111845a..55895b9a6 100644 --- a/utils/utils/.prettierrc +++ b/utils/utils/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/charts/.prettierrc b/webcomponents/charts/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/charts/.prettierrc +++ b/webcomponents/charts/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/color/.prettierrc b/webcomponents/color/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/color/.prettierrc +++ b/webcomponents/color/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/core/.prettierrc b/webcomponents/core/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/core/.prettierrc +++ b/webcomponents/core/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/highlight-code/.prettierrc b/webcomponents/highlight-code/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/highlight-code/.prettierrc +++ b/webcomponents/highlight-code/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/inline-editor/.prettierrc b/webcomponents/inline-editor/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/inline-editor/.prettierrc +++ b/webcomponents/inline-editor/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/lazy-img/.prettierrc b/webcomponents/lazy-img/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/lazy-img/.prettierrc +++ b/webcomponents/lazy-img/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/qrcode/.prettierrc b/webcomponents/qrcode/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/qrcode/.prettierrc +++ b/webcomponents/qrcode/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/remote/.prettierrc b/webcomponents/remote/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/remote/.prettierrc +++ b/webcomponents/remote/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/author/.prettierrc b/webcomponents/slides/author/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/author/.prettierrc +++ b/webcomponents/slides/author/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/big-img/.prettierrc b/webcomponents/slides/big-img/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/big-img/.prettierrc +++ b/webcomponents/slides/big-img/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/chart/.prettierrc b/webcomponents/slides/chart/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/chart/.prettierrc +++ b/webcomponents/slides/chart/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/code/.prettierrc b/webcomponents/slides/code/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/code/.prettierrc +++ b/webcomponents/slides/code/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/content/.prettierrc b/webcomponents/slides/content/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/content/.prettierrc +++ b/webcomponents/slides/content/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/countdown/.prettierrc b/webcomponents/slides/countdown/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/countdown/.prettierrc +++ b/webcomponents/slides/countdown/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/gif/.prettierrc b/webcomponents/slides/gif/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/gif/.prettierrc +++ b/webcomponents/slides/gif/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/poll/.prettierrc b/webcomponents/slides/poll/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/poll/.prettierrc +++ b/webcomponents/slides/poll/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/qrcode/.prettierrc b/webcomponents/slides/qrcode/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/qrcode/.prettierrc +++ b/webcomponents/slides/qrcode/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/split/.prettierrc b/webcomponents/slides/split/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/split/.prettierrc +++ b/webcomponents/slides/split/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/title/.prettierrc b/webcomponents/slides/title/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/title/.prettierrc +++ b/webcomponents/slides/title/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/video/.prettierrc b/webcomponents/slides/video/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/video/.prettierrc +++ b/webcomponents/slides/video/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/slides/youtube/.prettierrc b/webcomponents/slides/youtube/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/slides/youtube/.prettierrc +++ b/webcomponents/slides/youtube/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/social/.prettierrc b/webcomponents/social/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/social/.prettierrc +++ b/webcomponents/social/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] } diff --git a/webcomponents/youtube/.prettierrc b/webcomponents/youtube/.prettierrc index 97111845a..55895b9a6 100644 --- a/webcomponents/youtube/.prettierrc +++ b/webcomponents/youtube/.prettierrc @@ -3,5 +3,13 @@ "singleQuote": true, "arrowParens": "always", "bracketSpacing": false, - "jsxBracketSameLine": true + "jsxBracketSameLine": true, + "overrides": [ + { + "files": ["*.scss", "*.css"], + "options": { + "singleQuote": false + } + } + ] }