Skip to content

Commit 670460a

Browse files
fixes linting command (#101)
1 parent 0dc514e commit 670460a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"build:node": "yarn build --config webpack.node.config.js",
4848
"test": "jest --config jest.config.js --collectCoverage",
4949
"format": "prettier --write \"src/**/*.{ts,tsx}\" \"src/**/*.{js}\" \"example/src/**/*.{ts,tsx}\" \"example/src/**/*.{js}\" --no-error-on-unmatched-pattern",
50-
"lint": "eslint . --ext '.ts,.tsx'",
50+
"lint": "eslint src --ignore-pattern '*.test.*' --ignore-pattern '*.spec.*' --ext '.ts,.tsx'",
5151
"typecheck": "ttsc --noEmit true --emitDeclarationOnly false",
5252
"check-deps": "madge --extensions js,ts --circular dist",
5353
"prepublishOnly": "yarn lint && yarn typecheck && yarn format && yarn build && yarn build:node",

0 commit comments

Comments
 (0)