From d37b5ba3d5c6fac4e0502b3307f9556efdd1fd94 Mon Sep 17 00:00:00 2001 From: Brad Sickles Date: Sat, 26 Oct 2024 15:54:22 -0400 Subject: [PATCH] prettier --- src/api/json/catalog.json | 5 +-- src/test/prettierrc/.prettierrc.yml | 16 ++++---- src/test/prettierrc/prettierrc.json | 60 ++++++++++++++--------------- 3 files changed, 39 insertions(+), 42 deletions(-) diff --git a/src/api/json/catalog.json b/src/api/json/catalog.json index c25b22c7e3f..7a33a404823 100644 --- a/src/api/json/catalog.json +++ b/src/api/json/catalog.json @@ -3579,11 +3579,8 @@ { "name": "Nullstone config", "description": "Nullstone config.yml file", + "fileMatch": ["**/.nullstone/*.yml", "**/.nullstone/*.yaml"], "url": "https://raw.githubusercontent.com/nullstone-io/iac/master/.schema/config.0.1.json", - "fileMatch": [ - "**/.nullstone/*.yml", - "**/.nullstone/*.yaml" - ], "versions": { "0.1": "https://raw.githubusercontent.com/nullstone-io/iac/master/.schema/config.0.1.json" } diff --git a/src/test/prettierrc/.prettierrc.yml b/src/test/prettierrc/.prettierrc.yml index b32b7ccae44..933185f157c 100644 --- a/src/test/prettierrc/.prettierrc.yml +++ b/src/test/prettierrc/.prettierrc.yml @@ -5,11 +5,11 @@ tabWidth: 4 semi: false singleQuote: true overrides: - - files: '*.test.js' - options: - semi: true - - files: - - '*.html' - - 'legacy/**/*.js' - options: - tabWidth: 4 + - files: '*.test.js' + options: + semi: true + - files: + - '*.html' + - 'legacy/**/*.js' + options: + tabWidth: 4 diff --git a/src/test/prettierrc/prettierrc.json b/src/test/prettierrc/prettierrc.json index 0ebe536e848..c0ce9ec7fb8 100644 --- a/src/test/prettierrc/prettierrc.json +++ b/src/test/prettierrc/prettierrc.json @@ -1,32 +1,32 @@ { - "arrowParens": "always", - "bracketSameLine": false, - "bracketSpacing": true, - "htmlWhitespaceSensitivity": "css", - "insertPragma": false, - "jsxBracketSameLine": false, - "jsxSingleQuote": false, - "overrides": [ - { - "files": ["*/*.Rmd"], - "options": { - "parser": "markdown" - } - }, - { - "files": ["*/*.type"], - "options": { - "parser": "custom" - } - } - ], - "printWidth": 80, - "proseWrap": "preserve", - "quoteProps": "as-needed", - "requirePragma": false, - "semi": true, - "singleQuote": false, - "tabWidth": 2, - "trailingComma": "all", - "useTabs": false + "arrowParens": "always", + "bracketSameLine": false, + "bracketSpacing": true, + "htmlWhitespaceSensitivity": "css", + "insertPragma": false, + "jsxBracketSameLine": false, + "jsxSingleQuote": false, + "overrides": [ + { + "files": ["*/*.Rmd"], + "options": { + "parser": "markdown" + } + }, + { + "files": ["*/*.type"], + "options": { + "parser": "custom" + } + } + ], + "printWidth": 80, + "proseWrap": "preserve", + "quoteProps": "as-needed", + "requirePragma": false, + "semi": true, + "singleQuote": false, + "tabWidth": 2, + "trailingComma": "all", + "useTabs": false }