0.0.7 • Published 3 years 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.jsto your project's.eslintrc.js - Copy
.vscode/settings.jsonto your project's.vscode/settings.json - Copy
.husky/pre-committo 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-commitMaking 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