Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore unintended tab change #2

Merged
merged 1 commit into from
Nov 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 36 additions & 36 deletions lib/core-generators/new/get-package-json-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,42 +167,42 @@ module.exports = function getPackageJsonData(scope) {
'echo \'✔ Your .js files look good.\''
)

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// FUTURE: Set up something like:
// ```
// './node_modules/sails/bin/lint', # (e.g. same as running `sails lint`)
// ```
// In order to do all this: (without cluttering up the default package.json)
// ```
// 'echo && '+
// 'echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * " && '+
// 'echo "Verifying code quality..." && '+
// 'echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * " && '+
// 'echo && '+
// 'if ! node ./node_modules/eslint/bin/eslint.js -v '+
// '; then '+
// 'echo && '+
// 'echo && '+
// 'echo "- - -" && '+
// 'echo "✘ Could not check code quality." && '+
// 'echo "Looks like something went wrong trying to access \'eslint\'." && '+
// 'echo "| If you are not sure what to do next, try:" && '+
// 'echo "| npm install eslint --save-dev --save-exact" && '+
// 'echo "| " && '+
// 'echo "| And then give this another go:" && '+
// 'echo "| npm test" && '+
// 'echo &&'+
// 'exit 1'+
// '; else '+
// 'npm run lint && '+
// 'echo && '+
// 'node ./node_modules/eslint/bin/eslint . --max-warnings=0 && '+
// 'echo \'✔ OK!\' && '+
// 'echo'+
// '; fi && '+
// 'echo',
// ```
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// FUTURE: Set up something like:
// ```
// './node_modules/sails/bin/lint', # (e.g. same as running `sails lint`)
// ```
// In order to do all this: (without cluttering up the default package.json)
// ```
// 'echo && '+
// 'echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * " && '+
// 'echo "Verifying code quality..." && '+
// 'echo "* * * * * * * * * * * * * * * * * * * * * * * * * * * " && '+
// 'echo && '+
// 'if ! node ./node_modules/eslint/bin/eslint.js -v '+
// '; then '+
// 'echo && '+
// 'echo && '+
// 'echo "- - -" && '+
// 'echo "✘ Could not check code quality." && '+
// 'echo "Looks like something went wrong trying to access \'eslint\'." && '+
// 'echo "| If you are not sure what to do next, try:" && '+
// 'echo "| npm install eslint --save-dev --save-exact" && '+
// 'echo "| " && '+
// 'echo "| And then give this another go:" && '+
// 'echo "| npm test" && '+
// 'echo &&'+
// 'exit 1'+
// '; else '+
// 'npm run lint && '+
// 'echo && '+
// 'node ./node_modules/eslint/bin/eslint . --max-warnings=0 && '+
// 'echo \'✔ OK!\' && '+
// 'echo'+
// '; fi && '+
// 'echo',
// ```
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
),
'custom-tests': (
'echo "(No other custom tests yet.)" && echo'
Expand Down