From eea36abb25b3524c490080fa262bbe77c2e958a8 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Sun, 9 Apr 2023 15:37:55 +0200 Subject: [PATCH] build: lint --- .vscode/settings.json | 18 +++++++-------- apps/website/.prettierrc.cjs | 27 +++++++++++----------- rome.json | 26 ++++++++++----------- turbo.json | 44 ++++++++++++++++++------------------ 4 files changed, 57 insertions(+), 58 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5ce3fa8..a68732d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,11 +1,11 @@ { - "[typescript]": { - "editor.defaultFormatter": "rome.rome" - }, - "[javascript]": { - "editor.defaultFormatter": "rome.rome" - }, - "[astro]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - } + "[typescript]": { + "editor.defaultFormatter": "rome.rome" + }, + "[javascript]": { + "editor.defaultFormatter": "rome.rome" + }, + "[astro]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + } } diff --git a/apps/website/.prettierrc.cjs b/apps/website/.prettierrc.cjs index bd1f410..2cd15a1 100644 --- a/apps/website/.prettierrc.cjs +++ b/apps/website/.prettierrc.cjs @@ -1,15 +1,14 @@ module.exports = { - plugins: [ - require.resolve("prettier-plugin-astro"), - require.resolve("prettier-plugin-tailwindcss"), - ], - overrides: [ - { - files: "*.astro", - options: { - parser: "astro", - }, - }, - ], - }; - \ No newline at end of file + plugins: [ + require.resolve("prettier-plugin-astro"), + require.resolve("prettier-plugin-tailwindcss"), + ], + overrides: [ + { + files: "*.astro", + options: { + parser: "astro", + }, + }, + ], +}; diff --git a/rome.json b/rome.json index 20f5771..9600879 100644 --- a/rome.json +++ b/rome.json @@ -1,15 +1,15 @@ { - "$schema": "./node_modules/rome/configuration_schema.json", - "organizeImports": { - "enabled": false - }, - "files": { - "ignore": ["dist/**"] - }, - "linter": { - "enabled": true, - "rules": { - "recommended": true - } - } + "$schema": "./node_modules/rome/configuration_schema.json", + "organizeImports": { + "enabled": false + }, + "files": { + "ignore": ["dist/**"] + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true + } + } } diff --git a/turbo.json b/turbo.json index 601b7c4..e332fec 100644 --- a/turbo.json +++ b/turbo.json @@ -1,24 +1,24 @@ { - "$schema": "https://turbo.build/schema.json", - "pipeline": { - "build": { - "dependsOn": ["^build"], - "outputs": ["dist"] - }, - "dev": { - "outputs": ["dist"] - }, - "dev:tunnel": { - "outputs": ["dist"] - }, - "preview": { - "outputs": ["dist"] - }, - "deploy": { - "dependsOn": ["build", "test", "lint"] - }, - "test": { - "dependsOn": ["^build"] - } - } + "$schema": "https://turbo.build/schema.json", + "pipeline": { + "build": { + "dependsOn": ["^build"], + "outputs": ["dist"] + }, + "dev": { + "outputs": ["dist"] + }, + "dev:tunnel": { + "outputs": ["dist"] + }, + "preview": { + "outputs": ["dist"] + }, + "deploy": { + "dependsOn": ["build", "test", "lint"] + }, + "test": { + "dependsOn": ["^build"] + } + } }