mirror of
https://github.com/xHyroM/roles-bot.git
synced 2024-11-23 08:51:04 +01:00
build: lint
This commit is contained in:
parent
aff5c3227d
commit
eea36abb25
4 changed files with 57 additions and 58 deletions
18
.vscode/settings.json
vendored
18
.vscode/settings.json
vendored
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
26
rome.json
26
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
44
turbo.json
44
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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue