0.0.11
This commit is contained in:
parent
d14e999d04
commit
3e409c2b95
27 changed files with 1235 additions and 997 deletions
33
index.ts
33
index.ts
|
|
@ -2,14 +2,14 @@ import { Linter } from "eslint";
|
|||
import { defineConfig, globalIgnores } from "eslint/config";
|
||||
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 { astroRules } from "./rules/astro.ts";
|
||||
import { functionalRules } from "./rules/functional.ts";
|
||||
import { javascriptRules } from "./rules/javascript.ts";
|
||||
import { jsDocRules } from "./rules/jsdoc.ts";
|
||||
import { sonarJsRules } from "./rules/sonarjs.ts";
|
||||
import { sortRules } from "./rules/tri.ts";
|
||||
import { typeScriptRules } from "./rules/typescript.ts";
|
||||
import { unicornRules } from "./rules/unicorn.ts";
|
||||
|
||||
export const configTypescriptNavigateur: ReadonlyArray<Linter.Config> = defineConfig([
|
||||
globalIgnores(["dist/**/*"], "Ignore le dossier de compilation"),
|
||||
|
|
@ -35,12 +35,13 @@ export const configTypescriptNavigateur: ReadonlyArray<Linter.Config> = defineCo
|
|||
},
|
||||
name: "Configuration du projet",
|
||||
},
|
||||
règlesJavaScript,
|
||||
règlesTypeScript,
|
||||
règlesProgrammationFonctionnelle,
|
||||
règlesUnicorn,
|
||||
règlesSonarJs,
|
||||
règlesJsDoc,
|
||||
règlesTri,
|
||||
règlesOxlint,
|
||||
javascriptRules,
|
||||
typeScriptRules,
|
||||
functionalRules,
|
||||
unicornRules,
|
||||
sonarJsRules,
|
||||
jsDocRules,
|
||||
sortRules,
|
||||
]);
|
||||
|
||||
export const configAstro: ReadonlyArray<Linter.Config> = defineConfig([...configTypescriptNavigateur, ...astroRules]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue