Corsali linting rules.
- Add the package to dev dependencies:
$ npm i -D @corsali/eslint-config
- Create
.eslintrc.json
in the root directory with this content:
{
"extends": ["@corsali"]
}
-
In this repository:
npm link
(may need to be run as root).- Update version in
package.json
.
-
In another project where the rule is used:
npm link @corsali/eslint-config
.- Update the installed version in
package.json
.