0.0.7 • Published 1 year ago
@teamskunk/lint v0.0.7
ESLint declarations for team skunk
A shared set of standards and preferences, enforced through eslint and vscode.
Quickstart
To use:
npm install -D @teamskunk/lint @babel/eslint-parser eslint husky
- Copy
.eslintrc.js
to your project's.eslintrc.js
- Copy
.vscode/settings.json
to your project's.vscode/settings.json
- Copy
.husky/pre-commit
to your project's.husky/pre-commit
- Run husky initial setup:
npm pkg set scripts.prepare="husky install"
npm pkg set scripts.lint="eslint --fix src"
npm run prepare
npx husky add .husky/pre-commit "npm test"
git add .husky/pre-commit
Making changes
The relevant source files are in modules/
. If you make a change, you can update the package by:
- Making the changes
- Updating the version number in
package.json
- Pushing to the main branch of the repo or opening a pull request