main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
973 bytes
|
Line | |
---|
1 | {
|
---|
2 | "root": true,
|
---|
3 |
|
---|
4 | "extends": "@ljharb",
|
---|
5 |
|
---|
6 | "rules": {
|
---|
7 | "complexity": [2, 12],
|
---|
8 | "func-name-matching": 0,
|
---|
9 | "id-length": 0,
|
---|
10 | "max-nested-callbacks": [2, 3],
|
---|
11 | "max-params": [2, 4],
|
---|
12 | "max-statements-per-line": [2, { "max": 2 }],
|
---|
13 | "max-statements": [2, 24],
|
---|
14 | "new-cap": [2, {
|
---|
15 | "capIsNewExceptions": [
|
---|
16 | "AdvanceStringIndex",
|
---|
17 | "Call",
|
---|
18 | "Construct",
|
---|
19 | "CreateIterResultObject",
|
---|
20 | "CreateRegExpStringIterator",
|
---|
21 | "Get",
|
---|
22 | "GetIntrinsic",
|
---|
23 | "GetMethod",
|
---|
24 | "Invoke",
|
---|
25 | "IsRegExp",
|
---|
26 | "OrdinaryObjectCreate",
|
---|
27 | "RegExpExec",
|
---|
28 | "RequireObjectCoercible",
|
---|
29 | "Set",
|
---|
30 | "SpeciesConstructor",
|
---|
31 | "ToBoolean",
|
---|
32 | "ToLength",
|
---|
33 | "ToString",
|
---|
34 | "Type",
|
---|
35 | ],
|
---|
36 | }],
|
---|
37 | "no-restricted-syntax": [2, "BreakStatement", "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
|
---|
38 | },
|
---|
39 |
|
---|
40 | "overrides": [
|
---|
41 | {
|
---|
42 | "files": "test/**",
|
---|
43 | "extends": "@ljharb/eslint-config/tests",
|
---|
44 | "rules": {
|
---|
45 | "max-lines-per-function": 0,
|
---|
46 | },
|
---|
47 | },
|
---|
48 | ],
|
---|
49 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.