11 lines
276 B
TypeScript
11 lines
276 B
TypeScript
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,
|
|
},
|
|
};
|