Skip to content

Commit dcea236

Browse files
committed
package.json: add support for auto-fixing lint errors
Simply run `npm run lint:fix`. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 12d1c31 commit dcea236

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
},
77
"scripts": {
88
"lint": "eslint -c eslint.config.js '**/*.js'",
9+
"lint:fix": "eslint --fix -c eslint.config.js '**/*.js'",
910
"test": "jest"
1011
}
1112
}

0 commit comments

Comments
 (0)