build: lint

This commit is contained in:
xHyroM 2023-04-09 15:37:55 +02:00
parent aff5c3227d
commit eea36abb25
No known key found for this signature in database
GPG key ID: BE0423F386C436AA
4 changed files with 57 additions and 58 deletions

18
.vscode/settings.json vendored
View file

@ -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"
}
}

View file

@ -1,15 +1,14 @@
module.exports = {
plugins: [
require.resolve("prettier-plugin-astro"),
require.resolve("prettier-plugin-tailwindcss"),
],
overrides: [
{
files: "*.astro",
options: {
parser: "astro",
},
},
],
};
plugins: [
require.resolve("prettier-plugin-astro"),
require.resolve("prettier-plugin-tailwindcss"),
],
overrides: [
{
files: "*.astro",
options: {
parser: "astro",
},
},
],
};

View file

@ -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
}
}
}

View file

@ -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"]
}
}
}