The provided configuration contains shared ESLint rules for typescript projects across Caspeco.
- Vanilla Configuration - For vanilla Typescript projects
- React Configuration - For React based projects
Available at @caspeco/eslint-config.
Please run npm install
before any other commands below.
- Go to Github Releases
- Click "Draft a new release"
- Enter the version that you'd like to release, skip the
v
prefix. - Publish
You can ignore the version in the package.json
file, that is only used when you're publishing manually to NPM, e.g. a preview version.
npm --ignore-scripts publish --access public --tag next
This step requires you to be a collaborator on the NPM package.
Documentation is available in the docs/
folder and can be previewed with:
npm run docs:preview
Tests are located in the __tests__
directory. There are fixtures available for each config to represent a more representative test scenario.
npm run test
npm run prettier:check
npm run tsc
Based on the work of Chainsafe: eslint-config