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:
1.6 KB
|
Line | |
---|
1 | {
|
---|
2 | "root": true,
|
---|
3 |
|
---|
4 | "extends": "@ljharb",
|
---|
5 |
|
---|
6 | "rules": {
|
---|
7 | "indent": [2, 4],
|
---|
8 | "strict": 0,
|
---|
9 | "complexity": 0,
|
---|
10 | "consistent-return": 0,
|
---|
11 | "curly": 0,
|
---|
12 | "dot-notation": [2, { "allowKeywords": true }],
|
---|
13 | "func-name-matching": 0,
|
---|
14 | "func-style": 0,
|
---|
15 | "global-require": 1,
|
---|
16 | "id-length": [2, { "min": 1, "max": 40 }],
|
---|
17 | "max-lines": [2, 350],
|
---|
18 | "max-lines-per-function": 1,
|
---|
19 | "max-nested-callbacks": 0,
|
---|
20 | "max-params": 0,
|
---|
21 | "max-statements-per-line": [2, { "max": 2 }],
|
---|
22 | "max-statements": 0,
|
---|
23 | "no-magic-numbers": 0,
|
---|
24 | "no-shadow": 0,
|
---|
25 | "no-use-before-define": 0,
|
---|
26 | "sort-keys": 0,
|
---|
27 | },
|
---|
28 | "overrides": [
|
---|
29 | {
|
---|
30 | "files": "bin/**",
|
---|
31 | "rules": {
|
---|
32 | "no-process-exit": "off",
|
---|
33 | },
|
---|
34 | },
|
---|
35 | {
|
---|
36 | "files": "example/**",
|
---|
37 | "rules": {
|
---|
38 | "no-console": 0,
|
---|
39 | },
|
---|
40 | },
|
---|
41 | {
|
---|
42 | "files": "test/resolver/nested_symlinks/mylib/*.js",
|
---|
43 | "rules": {
|
---|
44 | "no-throw-literal": 0,
|
---|
45 | },
|
---|
46 | },
|
---|
47 | {
|
---|
48 | "files": "test/**",
|
---|
49 | "parserOptions": {
|
---|
50 | "ecmaVersion": 5,
|
---|
51 | "allowReserved": false,
|
---|
52 | },
|
---|
53 | "rules": {
|
---|
54 | "dot-notation": [2, { "allowPattern": "throws" }],
|
---|
55 | "max-lines": 0,
|
---|
56 | "max-lines-per-function": 0,
|
---|
57 | "no-unused-vars": [2, { "vars": "all", "args": "none" }],
|
---|
58 | },
|
---|
59 | },
|
---|
60 | ],
|
---|
61 |
|
---|
62 | "ignorePatterns": [
|
---|
63 | "./test/resolver/malformed_package_json/package.json",
|
---|
64 | ],
|
---|
65 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.