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]": {
|
"[typescript]": {
|
||||||
"editor.defaultFormatter": "rome.rome"
|
"editor.defaultFormatter": "rome.rome"
|
||||||
},
|
},
|
||||||
"[javascript]": {
|
"[javascript]": {
|
||||||
"editor.defaultFormatter": "rome.rome"
|
"editor.defaultFormatter": "rome.rome"
|
||||||
},
|
},
|
||||||
"[astro]": {
|
"[astro]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
require.resolve("prettier-plugin-astro"),
|
require.resolve("prettier-plugin-astro"),
|
||||||
require.resolve("prettier-plugin-tailwindcss"),
|
require.resolve("prettier-plugin-tailwindcss"),
|
||||||
],
|
],
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
files: "*.astro",
|
files: "*.astro",
|
||||||
options: {
|
options: {
|
||||||
parser: "astro",
|
parser: "astro",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
26
rome.json
26
rome.json
|
@ -1,15 +1,15 @@
|
||||||
{
|
{
|
||||||
"$schema": "./node_modules/rome/configuration_schema.json",
|
"$schema": "./node_modules/rome/configuration_schema.json",
|
||||||
"organizeImports": {
|
"organizeImports": {
|
||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"ignore": ["dist/**"]
|
"ignore": ["dist/**"]
|
||||||
},
|
},
|
||||||
"linter": {
|
"linter": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"rules": {
|
"rules": {
|
||||||
"recommended": true
|
"recommended": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
44
turbo.json
44
turbo.json
|
@ -1,24 +1,24 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://turbo.build/schema.json",
|
"$schema": "https://turbo.build/schema.json",
|
||||||
"pipeline": {
|
"pipeline": {
|
||||||
"build": {
|
"build": {
|
||||||
"dependsOn": ["^build"],
|
"dependsOn": ["^build"],
|
||||||
"outputs": ["dist"]
|
"outputs": ["dist"]
|
||||||
},
|
},
|
||||||
"dev": {
|
"dev": {
|
||||||
"outputs": ["dist"]
|
"outputs": ["dist"]
|
||||||
},
|
},
|
||||||
"dev:tunnel": {
|
"dev:tunnel": {
|
||||||
"outputs": ["dist"]
|
"outputs": ["dist"]
|
||||||
},
|
},
|
||||||
"preview": {
|
"preview": {
|
||||||
"outputs": ["dist"]
|
"outputs": ["dist"]
|
||||||
},
|
},
|
||||||
"deploy": {
|
"deploy": {
|
||||||
"dependsOn": ["build", "test", "lint"]
|
"dependsOn": ["build", "test", "lint"]
|
||||||
},
|
},
|
||||||
"test": {
|
"test": {
|
||||||
"dependsOn": ["^build"]
|
"dependsOn": ["^build"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue