forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.mts
More file actions
43 lines (41 loc) · 979 Bytes
/
eslint.config.mts
File metadata and controls
43 lines (41 loc) · 979 Bytes
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
/* eslint-disable */
/**
* GENERATED FILE - DO NOT EDIT DIRECTLY.
* To regenerate: pnpm tsx scripts/generate-flat-eslint-configs.ts --typescript
*/
import type { Linter } from "eslint";
import { strict } from "@fluidframework/eslint-config-fluid/flat.mts";
const config: Linter.Config[] = [
...strict,
{
rules: {
"@fluid-internal/fluid/no-unchecked-record-access": "off",
"@typescript-eslint/class-literal-property-style": "off",
"@typescript-eslint/no-unsafe-enum-comparison": "off",
"unicorn/prevent-abbreviations": [
"error",
{
"allowList": {
"i": true,
},
},
],
"unicorn/prefer-module": "off",
"unicorn/prefer-negative-index": "off",
"import/no-nodejs-modules": "off",
},
},
{
files: ["src/**/test/**"],
rules: {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
},
],
"@typescript-eslint/no-unused-expressions": "off",
},
},
];
export default config;