Skip to content

Commit b413d52

Browse files
authored
Merge pull request #86 from Nautilus-Cyberneering/issue-57-simplify-eslint-matchers
Simplify linting target specification
2 parents 0079b6e + c18fda7 commit b413d52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"build": "tsc",
99
"format": "prettier --write '**/*.ts'",
1010
"format-check": "prettier --check '**/*.ts'",
11-
"lint": "eslint --fix **src/*.ts; eslint --fix **src/**/*.ts; eslint --fix __tests__/**/*.ts",
12-
"lint-check": "eslint **src/*.ts; eslint **src/**/*.ts; eslint __tests__/**/*.ts",
11+
"lint": "eslint --fix '@(src|__tests__)/**/*.ts'",
12+
"lint-check": "eslint '@(src|__tests__)/**/*.ts'",
1313
"package": "ncc build --source-map --license licenses.txt",
1414
"test": "yarn build && jest --coverage",
1515
"test-unit": "jest --coverage --testPathPattern __tests__/unit/[a-z-]+.test.ts",

0 commit comments

Comments
 (0)