@ferlab/eslint-config
v2.0.0
Published
Contains standard extension for ferlab UI js/ts project
Downloads
665
Keywords
Readme
eslint-config
Contains standard extension for ferlab UI js/ts project
For more information https://docs.npmjs.com/creating-node-js-modules
Installation
Peer dependencies
npm install eslint eslint-config-airbnb eslint-config-airbnb-typescript eslint-config-prettier eslint-config-react-app eslint-plugin-import eslint-plugin-jest eslint-plugin-prefer-arrow eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-simple-import-sort eslint-plugin-sort-destructure-keys eslint-plugin-sort-keys-fix
npm install -D @ferlab/eslint-config
Modify the main .eslintrc.js configuration file
Here all what it takes:
{
"extends": [
"@ferlab"
]
}
Development
test changes
inside this directory
npm link
in the project you what to test
npm link local/path/to/this/project
publish
- Update configuration and increment version number
- Create PR
- When merge create tag
git tag [email protected]
- Login to npm
npm login
- Push the new version
npm publish