eslint-config-la-forge
v1.5.0
Published
Shared ESLint config for La Forge projects.
Downloads
5
Readme
La Forge - ESLint
Install
- Run:
yarn add --dev eslint eslint-config-la-forge typescript
- Create a
.eslintrc
file - Add the content:
{ "extends": "config-name", "rules": { ... } }
The available configs names are:
la-forge
: the base configla-forge/node
: the base config extended with eslint-plugin-nodela-forge/react
: the base config extended with eslint-plugin-reactla-forge/react-native
: the base config extended with eslint-plugin-react-native
Any rules specified in the
.eslintrc
file will override the selected config.
Publish
- Commit and push your change on
master
. - Update the package by publishing to the NPM registry.
You must be logged in with NPM
$ npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease [--preid=<prerelease-id>] | from-git]
$ git push --tags origin master
$ npm publish