Skip to content

Commit

Permalink
[Tests] fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 29, 2023
1 parent 4830ec0 commit 40d16e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

"extends": "@ljharb",

"ignorePatterns": [
"test/resolver/malformed_package_json/package.json",
"test/list-exports/**",
],

"rules": {
"indent": [2, 4],
"strict": 0,
Expand Down Expand Up @@ -58,8 +63,4 @@
},
},
],

"ignorePatterns": [
"./test/resolver/malformed_package_json/package.json",
],
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"prepack": "npmignore --auto --commentLines=autogenerated",
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
"prelint": "eclint check $(git ls-files | grep -Ev test\/list-exports$ | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
"lint": "eslint --ext=js,mjs --no-eslintrc -c .eslintrc . 'bin/**'",
"pretests-only": "cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async",
"tests-only": "tape test/*.js",
Expand Down

0 comments on commit 40d16e3

Please sign in to comment.