forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.cjs
35 lines (34 loc) · 802 Bytes
/
.eslintrc.cjs
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
/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
module.exports = {
extends: [
require.resolve("@fluidframework/eslint-config-fluid/minimal-deprecated"),
"prettier",
],
parserOptions: {
project: [
"./tsconfig.json",
"./tsconfig.bin.lint.json",
"./src/test/tsconfig.json",
"./src/test/tsconfig.cjs.lint.json",
],
},
rules: {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"import/no-nodejs-modules": "off",
"unicorn/filename-case": [
"error",
{
cases: {
camelCase: true,
pascalCase: true,
},
ignore: ["fluid-runner", "sample-executable"],
},
],
},
};