Skip to content

Commit

Permalink
Include .yaml files when linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed May 24, 2022
1 parent a2cac88 commit f1471e3
Show file tree
Hide file tree
Showing 6 changed files with 9,692 additions and 5,053 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.{json,md,yml}": "prettier --write"
"*.{json,md,yaml,yml}": "prettier --write"
}
2 changes: 1 addition & 1 deletion apps/codeforafrica/.lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require("eslint-config-commons-ui/.lintstagedrc");
module.exports = require("eslint-config-commons-ui/.lintstagedrc.js");
2 changes: 1 addition & 1 deletion apps/pesayetu/.lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require("eslint-config-commons-ui/.lintstagedrc");
module.exports = require("eslint-config-commons-ui/.lintstagedrc.js");
2 changes: 1 addition & 1 deletion apps/promisetracker/.lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require("eslint-config-commons-ui/.lintstagedrc");
module.exports = require("eslint-config-commons-ui/.lintstagedrc.js");
2 changes: 1 addition & 1 deletion packages/eslint-config-commons-ui/.lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"*.{json,md}": ["eslint", "prettier --write"],
"*.js": "eslint --fix",
"*.yml": "prettier --write",
"*.{yaml,yml}": "prettier --write",
};
Loading

0 comments on commit f1471e3

Please sign in to comment.