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

Add Lint Script and Prettier Integration Info #64

Merged
merged 3 commits into from
Mar 6, 2020

Conversation

spaceninja
Copy link
Member

This commit adds a section explaining how to add a script to run Stylelint and a section explaining how to run this Stylelint config alongside Prettier.

Fixes #60
Fixes #61

This commit adds a section explaining how to add a script to run
Stylelint and a section explaining how to run this stylelint config
alongside Prettier.

Fixes #60
Fixes #61
@spaceninja spaceninja requested review from tylersticka and a team March 6, 2020 22:49
README.md Outdated

```json
"scripts": {
"lint:css": "stylelint '**/*.css'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this missing a quotation mark?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep! Thank you. Sloppy copy/paste job.

README.md Outdated

```json
"scripts": {
"lint:css": "prettier --list-different '**/*.css' && stylelint '**/*.css'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing quotation mark?

@spaceninja spaceninja merged commit 676f614 into master Mar 6, 2020
@spaceninja spaceninja deleted the chore/readme-updates branch March 6, 2020 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Documentation for adding package.json scripts Add Prettier Integration
2 participants