source: imaps-frontend/node_modules/es-iterator-helpers/.eslintrc

main
Last change on this file was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago

Pred finalna verzija

  • Property mode set to 100644
File size: 1.7 KB
Line 
1{
2 "root": true,
3
4 "extends": "@ljharb",
5
6 "plugins": [
7 "import",
8 ],
9
10 "globals": {
11 "Iterator": false,
12 },
13
14 "rules": {
15 "array-bracket-newline": 0,
16 "func-name-matching": 0,
17 "id-length": 0,
18 "max-lines-per-function": 0,
19 "max-statements": 0,
20 "multiline-comment-style": 0,
21 "new-cap": [2, {
22 "capIsNewExceptions": [
23 "Call",
24 "CreateDataPropertyOrThrow",
25 "CreateIteratorFromClosure",
26 "CreateIterResultObject",
27 "GeneratorResume",
28 "GeneratorResumeAbrupt",
29 "GeneratorStart",
30 "GeneratorValidate",
31 "Get",
32 "GetIntrinsic",
33 "GetIterator",
34 "GetIteratorDirect",
35 "GetIteratorFlattenable",
36 "GetMethod",
37 "GetOptionsObject",
38 "IfAbruptCloseIterators",
39 "IsAccessorDescriptor",
40 "IsArray",
41 "IsCallable",
42 "IsDataDescriptor",
43 "IteratorClose",
44 "IteratorCloseAll",
45 "IteratorStep",
46 "IteratorStepValue",
47 "IteratorZip",
48 "NormalCompletion",
49 "OrdinaryHasInstance",
50 "OrdinaryObjectCreate",
51 "ReturnCompletion",
52 "StringToCodePoints",
53 "ThrowCompletion",
54 "ToBoolean",
55 "ToIntegerOrInfinity",
56 "ToNumber",
57 "Type",
58 ],
59 }],
60 "no-negated-condition": 1,
61 "object-curly-newline": 0,
62 "sort-keys": 0,
63 "import/no-extraneous-dependencies": 2,
64 },
65
66 "overrides": [
67 {
68 "files": "test/**",
69 "rules": {
70 "eqeqeq": ["error", "allow-null"],
71 "max-params": 0,
72 "import/no-extraneous-dependencies": [2, { "devDependencies": true }],
73 },
74 },
75 {
76 "files": "Iterator.zip*/implementation.js",
77 "rules": {
78 "complexity": "off",
79 "max-depth": "off",
80 },
81 },
82 {
83 "files": "aos/IteratorZip.js",
84 "rules": {
85 "max-depth": "off",
86 "max-params": "off",
87 },
88 },
89 ],
90}
Note: See TracBrowser for help on using the repository browser.