Skip to content

Commit edce1b8

Browse files
chore(deps): update (#38)
1 parent 8f9ea7d commit edce1b8

4 files changed

Lines changed: 3420 additions & 3190 deletions

File tree

__tests__/helpers/normalize-errors.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ function removeCWD(str) {
55
let cwd = process.cwd();
66

77
if (isWin) {
8-
// eslint-disable-next-line no-param-reassign
9-
str = str.replace(/\\/g, "/");
10-
cwd = cwd.replace(/\\/g, "/");
8+
// eslint-disable-next-line no-param-reassign,
9+
str = str.replaceAll("\\", "/");
10+
cwd = cwd.replaceAll("\\", "/");
1111
}
1212

1313
return str.replace(new RegExp(cwd, "g"), "");

lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

33
module.exports = {
4-
"*.{js,cjs,mjs,jsx}": [
4+
"*.{js,cjs,mjs,jsx,ts,tsx}": [
55
"prettier --list-different",
66
"eslint --report-unused-disable-directives",
77
"git add"

0 commit comments

Comments
 (0)