This commit is contained in:
gcch 2025-10-01 14:37:12 +02:00
commit 268cf80769
14 changed files with 126 additions and 48 deletions

11
règles/sonarjs.ts Normal file
View file

@ -0,0 +1,11 @@
import type { Linter } from "eslint";
import sonarJs from "eslint-plugin-sonarjs";
export const règlesSonarJs: Readonly<Linter.Config> = {
name: "SonarJS",
plugins: sonarJs.configs.recommended.plugins ?? {},
rules: {
...sonarJs.configs.recommended.rules,
},
};