Skip to content

Commit

Permalink
Pre commit rules added
Browse files Browse the repository at this point in the history
  • Loading branch information
Amar Ubhe committed Sep 11, 2024
1 parent bbfba03 commit ba1013c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*.js": "eslint"
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
test/*/

# Ignore all source files using the placeholders to kill the syntax
generators/app/templates/webapp/Component.js
generators/app/templates/webapp/test/*
2 changes: 1 addition & 1 deletion generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default class extends Generator {
type: "checkbox",
name: "features",
message: "Do you want to add sample code?",
choices: (props) => {
choices: () => {
return [
"Add button to launchpad header",
"Add a launchpad footer with button",
Expand Down

0 comments on commit ba1013c

Please sign in to comment.