@apicurio/eslint-config
v0.3.0
Published
This package provides Apicurio's .eslintrc as an extensible shared config.
Downloads
1,684
Keywords
Readme
@apicurio/eslint-config
ESLint shareable config for Apicurio projects.
Installation
npm install --save-dev eslint @apicurio/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser
Note: This config assumes you are using TypeScript in your project which is why you must install some
@typescript-eslint
scoped dependencies.
Usage
Once the @apicurio/eslint-config
package is installed, you can specify it in the extends
section of your ESlint configuration.
{
"extends": "@apicurio",
"rules": {
// Additional project rules
}
}