diff --git a/.lintstagedrc.json b/.lintstagedrc.json new file mode 100644 index 0000000..5189da9 --- /dev/null +++ b/.lintstagedrc.json @@ -0,0 +1,3 @@ +{ + "*.js": "eslint" +} diff --git a/.prettierignore b/.prettierignore index b6fe938..6999437 100644 --- a/.prettierignore +++ b/.prettierignore @@ -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/* \ No newline at end of file diff --git a/generators/app/index.js b/generators/app/index.js index 20f8256..552a4f2 100644 --- a/generators/app/index.js +++ b/generators/app/index.js @@ -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",