@bitwala/eslint-config
![npm monthly downloads](https://img.shields.io/npm/dm/%40bitwala%2Feslint-config.svg)
Bitwala eslint config.
Installation
Using npm:
npm install --save-dev --save-exact @bitwala/eslint-config
or using yarn:
yarn add --dev --exact @bitwala/eslint-config
Usage
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",
],
};
Create a new release
- 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
.