diff options
| author | Joel Kronqvist <joel.h.kronqvist@gmail.com> | 2022-03-05 19:02:27 +0200 | 
|---|---|---|
| committer | Joel Kronqvist <joel.h.kronqvist@gmail.com> | 2022-03-05 19:02:27 +0200 | 
| commit | 5d309ff52cd399a6b71968a6b9a70c8ac0b98981 (patch) | |
| tree | 360f7eb50f956e2367ef38fa1fc6ac7ac5258042 /node_modules/resolve/.eslintrc | |
| parent | b500a50f1b97d93c98b36ed9a980f8188d648147 (diff) | |
| download | LYLLRuoka-5d309ff52cd399a6b71968a6b9a70c8ac0b98981.tar.gz LYLLRuoka-5d309ff52cd399a6b71968a6b9a70c8ac0b98981.zip  | |
Added node_modules for the updating to work properly.
Diffstat (limited to 'node_modules/resolve/.eslintrc')
| -rw-r--r-- | node_modules/resolve/.eslintrc | 65 | 
1 files changed, 65 insertions, 0 deletions
diff --git a/node_modules/resolve/.eslintrc b/node_modules/resolve/.eslintrc new file mode 100644 index 0000000..ce1be6e --- /dev/null +++ b/node_modules/resolve/.eslintrc @@ -0,0 +1,65 @@ +{ +    "root": true, + +    "extends": "@ljharb", + +    "rules": { +        "indent": [2, 4], +        "strict": 0, +        "complexity": 0, +        "consistent-return": 0, +        "curly": 0, +        "dot-notation": [2, { "allowKeywords": true }], +        "func-name-matching": 0, +        "func-style": 0, +        "global-require": 1, +        "id-length": [2, { "min": 1, "max": 30 }], +        "max-lines": [2, 350], +        "max-lines-per-function": 0, +        "max-nested-callbacks": 0, +        "max-params": 0, +        "max-statements-per-line": [2, { "max": 2 }], +        "max-statements": 0, +        "no-magic-numbers": 0, +        "no-shadow": 0, +        "no-use-before-define": 0, +        "sort-keys": 0, +    }, +    "overrides": [ +        { +            "files": "bin/**", +            "rules": { +                "no-process-exit": "off", +            }, +        }, +        { +            "files": "example/**", +            "rules": { +                "no-console": 0, +            }, +        }, +        { +            "files": "test/resolver/nested_symlinks/mylib/*.js", +            "rules": { +                "no-throw-literal": 0, +            }, +        }, +        { +            "files": "test/**", +            "parserOptions": { +                "ecmaVersion": 5, +                "allowReserved": false, +            }, +            "rules": { +                "dot-notation": [2, { "allowPattern": "throws" }], +                "max-lines": 0, +                "max-lines-per-function": 0, +                "no-unused-vars": [2, { "vars": "all", "args": "none" }], +            }, +        }, +    ], + +    "ignorePatterns": [ +        "./test/resolver/malformed_package_json/package.json", +    ], +}  | 
