Skip to content

Commit

Permalink
feat(init): [ReactApp] Add stylelint to the scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nanovazquez committed Jul 1, 2020
1 parent 357c09f commit 206dba1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,6 @@ lerna-debug.log
# System Files
.DS_Store
Thumbs.db

# Custom
examples
6 changes: 5 additions & 1 deletion src/commands/init/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ export default function command(argv: CommandArguments): void {
console.log();

console.log(chalk.cyan(`npm run lint`));
console.log(" Validates the code syntax in your files.");
console.log(" Validates the code syntax in your code files.");
console.log();

console.log(chalk.cyan(`npm run stylelintlint`));
console.log(" Validates the code syntax in your CSS files.");
console.log();

console.log("We suggest that you begin by typing:");
Expand Down
1 change: 1 addition & 0 deletions src/commands/init/templates/ReactApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"homepage": "https://github.com/owner/entityName#readme",
"scripts": {
"lint": "exos-scripts lint",
"stylelint": "exos-scripts stylelint",
"test": "exos-scripts test",
"start": "exos-scripts start",
"build": "exos-scripts build"
Expand Down

0 comments on commit 206dba1

Please sign in to comment.