Bitwala eslint config.
Using npm:
npm install --save-dev --save-exact @bitwala/eslint-config
or using yarn:
yarn add --dev --exact @bitwala/eslint-config
Create a new .eslintrc.js
for your project and add the following configuration:
module.exports = {
extends: ["@bitwala/eslint-config/auto"],
};
If you prefer to manually enable some presets use the following configuration:
module.exports = {
extends: [
"@bitwala/eslint-config/base",
"@bitwala/eslint-config/react",
"@bitwala/eslint-config/node",
"@bitwala/eslint-config/typescript",
],
};
- Edit the version in the
package.json
file. git add package.json
.- Commit the changes
git commit -m vx.x.x
. - Create a new git tag
git tag -a vx.x.x -m vx.x.x
. - Run
yarn npm publish
to publish the package to the registry. - Push the changes
git push
.