Skip to content

Commit

Permalink
chore: 🤖 fix additional lint-staged tasks
Browse files Browse the repository at this point in the history
Fix additional lint-staged tasks that could result in race conditions
  • Loading branch information
hashicc committed Feb 13, 2025
1 parent 35c2694 commit 36a49c0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions addons/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
"configPath": "tests/dummy/config"
},
"lint-staged": {
"*.js": "eslint --fix",
"*.js": ["eslint --fix", "prettier --write"],
"*.hbs": "ember-template-lint --fix",
"*.{js,scss,yaml}": "prettier --write"
"*.{scss,yaml}": "prettier --write"
}
}
4 changes: 2 additions & 2 deletions addons/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"configPath": "tests/dummy/config"
},
"lint-staged": {
"*.js": "eslint --fix",
"*.js": ["eslint --fix", "prettier --write"],
"*.hbs": "ember-template-lint --fix",
"*.{js,scss,yaml}": "prettier --write"
"*.{scss,yaml}": "prettier --write"
}
}
4 changes: 2 additions & 2 deletions addons/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@
"configPath": "tests/dummy/config"
},
"lint-staged": {
"*.js": "eslint --fix",
"*.js": ["eslint --fix", "prettier --write"],
"*.hbs": "ember-template-lint --fix",
"*.{js,scss,yaml}": "prettier --write"
"*.{scss,yaml}": "prettier --write"
}
}
6 changes: 3 additions & 3 deletions addons/rose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@
"configPath": "tests/dummy/config"
},
"lint-staged": {
"*.js": "eslint --fix",
"*.js": ["eslint --fix", "prettier --write"],
"*.hbs": "ember-template-lint --fix",
"*.scss": "stylelint --fix",
"*.{js,scss,mdx,yaml}": "prettier --write"
"*.scss": ["stylelint --fix", "prettier --write"],
"*.{mdx,yaml}": "prettier --write"
}
}
4 changes: 2 additions & 2 deletions ui/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@
"edition": "octane"
},
"lint-staged": {
"*.js": "eslint --fix",
"*.js": ["eslint --fix", "prettier --write"],
"*.hbs": "ember-template-lint --fix",
"*.{js,scss,yaml}": "prettier --write"
"*.{scss,yaml}": "prettier --write"
}
}
4 changes: 2 additions & 2 deletions ui/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
"edition": "octane"
},
"lint-staged": {
"*.js": "eslint --fix",
"*.js": ["eslint --fix", "prettier --write"],
"*.hbs": "ember-template-lint --fix",
"*.{js,scss,yaml}": "prettier --write"
"*.{scss,yaml}": "prettier --write"
}
}

0 comments on commit 36a49c0

Please sign in to comment.