ESLint shareable config for Apicurio projects.
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.
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
}
}