1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24import pluginJs from "@eslint/js";
import tseslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import deMorgan from "eslint-plugin-de-morgan";
import eslintPluginHexUnder from "eslint-plugin-hex-under";
export default [
pluginJs.configs.recommended,
deMorgan.configs.recommended,
{
plugins: {
"hex-under": eslintPluginHexUnder,
"@typescript-eslint": tseslint,
},
languageOptions: {
parser: tsParser,
},
rules: {
"hex-under/hex-under": ["warn", { limit: 255 }],
"hex-under/hex-under-bigint": "warn",
},
},
];