forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
29 lines (26 loc) · 874 Bytes
/
.eslintrc.js
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
/*!
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
* Licensed under the MIT License.
*/
module.exports = {
"extends": [
require.resolve("@fluidframework/eslint-config-fluid")
],
"parserOptions": {
"project": ["./tsconfig.json", "./src/test/tsconfig.json"]
},
"rules": {
"@typescript-eslint/strict-boolean-expressions": "off",
// This library is used in the browser, so we don't want dependencies on most node libraries.
"import/no-nodejs-modules": ["error", {"allow": ["events"]}],
},
"overrides": [
{
// The assertion shortcode map file is auto-generated, so disable some rules.
"files": ["src/assertionShortCodesMap.ts"],
"rules": {
"@typescript-eslint/comma-dangle": "off",
}
}
],
}