-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugins.js
More file actions
58 lines (53 loc) · 1.87 KB
/
plugins.js
File metadata and controls
58 lines (53 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// TODO [2026-07-01]: Remove the directive below once this is resolved: https://github.com/eslint-community/eslint-plugin-eslint-comments/pull/246#issuecomment-3764843636
/* eslint-disable import-x/default -- see above */
/* eslint-disable import-x/max-dependencies -- collection file */
import eslintComments from "@eslint-community/eslint-plugin-eslint-comments";
import stylistic from "@stylistic/eslint-plugin";
import command from "eslint-plugin-command";
import depend from "eslint-plugin-depend";
import importX from "eslint-plugin-import-x";
import jsdoc from "eslint-plugin-jsdoc";
import noSecrets from "eslint-plugin-no-secrets";
import perfectionist from "eslint-plugin-perfectionist";
import promise from "eslint-plugin-promise";
import reactDom from "eslint-plugin-react-dom";
import reactNamingConvention from "eslint-plugin-react-naming-convention";
import reactRsc from "eslint-plugin-react-rsc";
import reactWebApi from "eslint-plugin-react-web-api";
import react from "eslint-plugin-react-x";
import regexp from "eslint-plugin-regexp";
import security from "eslint-plugin-security";
import sonarjs from "eslint-plugin-sonarjs";
import tailwindcss from "eslint-plugin-tailwindcss";
import unicorn from "eslint-plugin-unicorn";
/**
* @import { Linter, ESLint } from "eslint"
*/
/**
* @satisfies { Linter.Config["plugins"] }
*/
const plugins = /** @type {const} */ ({
// github,
// "jsx-a11y": jsxA11y,
// "no-unsanitized": noUnsanitized,
"@eslint-community/eslint-comments": eslintComments,
"@stylistic": stylistic,
command,
depend,
"@eslint-react": react,
"@eslint-react/dom": reactDom,
"@eslint-react/naming-convention": reactNamingConvention,
"@eslint-react/rsc": reactRsc,
"@eslint-react/web-api": reactWebApi,
"import-x": importX,
jsdoc,
"no-secrets": noSecrets,
perfectionist,
promise,
regexp,
security,
sonarjs,
tailwindcss,
unicorn
});
export default plugins;