wip
This commit is contained in:
parent
d14e999d04
commit
380fb54e4e
9 changed files with 618 additions and 649 deletions
10
index.ts
10
index.ts
|
|
@ -4,12 +4,13 @@ import globals from "globals";
|
|||
|
||||
import { règlesJavaScript } from "./règles/javascript.ts";
|
||||
import { règlesJsDoc } from "./règles/jsdoc.ts";
|
||||
import { règlesOxlint } from "./règles/oxlint.ts";
|
||||
import { règlesProgrammationFonctionnelle } from "./règles/programmation-fonctionnelle.ts";
|
||||
import { règlesSonarJs } from "./règles/sonarjs.ts";
|
||||
import { règlesTri } from "./règles/tri.ts";
|
||||
import { règlesTypeScript } from "./règles/typescript.ts";
|
||||
import { règlesUnicorn } from "./règles/unicorn.ts";
|
||||
import astro from "eslint-plugin-astro";
|
||||
import { règlesAstro } from "./règles/astro.ts";
|
||||
|
||||
export const configTypescriptNavigateur: ReadonlyArray<Linter.Config> = defineConfig([
|
||||
globalIgnores(["dist/**/*"], "Ignore le dossier de compilation"),
|
||||
|
|
@ -42,5 +43,10 @@ export const configTypescriptNavigateur: ReadonlyArray<Linter.Config> = defineCo
|
|||
règlesSonarJs,
|
||||
règlesJsDoc,
|
||||
règlesTri,
|
||||
règlesOxlint,
|
||||
]);
|
||||
|
||||
export const configAstro: ReadonlyArray<Linter.Config> = defineConfig([
|
||||
...configTypescriptNavigateur,
|
||||
règlesAstro
|
||||
// astro.configs["flat/recommended"],
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue