tslint-config-coda-base
v0.0.2
Published
This package provides CODA's base TypeScript tslint.json (without React) as an extensible shared configuration
Downloads
1
Readme
eslint-config-coda-base
This package provides CODA's base TypeScript tslint.json (without React) as an extensible shared configuration
Usage
Prequesite: Node must be installed
- Install TSLint:
$ yarn global add tslint
- Configure your editor to integrate with TSLint
- Visual Studio Code with the TSLint Extension
- Add the package to the devDependencies section of your
package.json
$ yarn add tslint-config-coda-base --dev
- Add
"extends": "tslint-config-coda-base"
to your tslint.json. - :sparkles: Start linting! :sparkles:
Contributing
Feel free to suggest changes to the rules. Before submitting a pull request please ensure that:
- Your changes are formated with Prettier
- VScode extension: Prettier - Code formatter
- The tests pass
$ yarn test
Publishing
To publish this repo, please:
- Create a PR to master
- Wait for approval
- Select the 'Squash and Merge' option
- Add a title and body that follows the Conventional Commits Specification
- When you're ready to release to npm:
git checkout master
git pull origin master
yarn release
git push --follow-tags origin master && npm publish
- standard-version does the following:
- Bumps the version in
package.json
(based on your commit history) - Uses conventional-changelog to update CHANGELOG.md
- Commits package.json (et al.) and CHANGELOG.md
- Tags a new release
- Bumps the version in