Skip to content

Commit a01dbc8

Browse files
committed
Add lint to Netlify command
1 parent 6cacb1e commit a01dbc8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
publish = "website/build/testing-library-docs"
1212

1313
# Default build command.
14-
command = "cd website; npm install; npm run format-docs; npm run build"
14+
command = "cd website; npm install; npm run lint-docs; npm run format-docs; npm run build"
1515

1616
# React root to React landing page
1717
[[redirects]]

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"linters": {
3131
"*.js": ["prettier --write", "git add"],
3232
"../docs/**/*.md": [
33-
"npm run lint-docs -- --fix",
33+
"textlint --fix",
3434
"prettier --write --parser=markdown",
3535
"git add"
3636
],

0 commit comments

Comments
 (0)