Skip to content

Commit

Permalink
update npm scripts linters
Browse files Browse the repository at this point in the history
  • Loading branch information
friedt committed Jan 10, 2025
1 parent b3c26d5 commit b80e0a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .tslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@
"no-unused-expressions": "error",
"prefer-const": "error",
"no-console": 2
}
},
"ignorePatterns": [
"src/*.spec.ts"
]

}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"test": "jest --verbose --coverage",
"eslint": "eslint src/*.js -c .eslintrc.json",
"tslint": "eslint src/*.ts -c .tslintrc.json",
"build": "webpack --config webpack.config.js",
"build-ts": "webpack --config webpack.ts.config.js",
"build": "npm run eslint && webpack --config webpack.config.js",
"build-ts": "npm run tslint && webpack --config webpack.ts.config.js",
"start": "webpack serve -c ./webpack.config.js",
"start-ts": "webpack serve -c ./webpack.ts.config.js"
},
Expand Down

0 comments on commit b80e0a1

Please sign in to comment.