Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Prettier, stylelint, tslint, editorconfig, sitting in a tree #4

Merged
merged 6 commits into from Jan 23, 2019

Conversation

kremalicious
Copy link
Contributor

@kremalicious kremalicious commented Jan 23, 2019

Make life easier by creating the basis so auto formatting and linting works in most code editors. E.g. in VS Code, having the prettier extension installed is all that's needed for auto-formatting on file save.

Those 2 new npm scripts execute based on the combination of all those config files:

# auto format all ts & css with tslint & stylelint
npm run lint

# auto format all ts & css with prettier, taking all configs into account
npm run format

@kremalicious kremalicious merged commit 623a63f into master Jan 23, 2019
@kremalicious kremalicious deleted the feature/prettier branch January 23, 2019 11:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants