Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

kinvolk/eslint-config

Repository files navigation


Kinvolk ESLint

Kinvolk ESLint Config

This is a shareable ESLint config we use at Kinvolk for our Javascript/Typescript projects.

Installation

Install the config from NPM by using the following command:

npm install --save-dev @kinvolk/eslint-config eslint-config-prettier

Install also the peer dependencies NPM suggested (if they're not installed automatically).

You can include it in your package.json file like the following:

  "eslintConfig": {
    "extends": ["@kinvolk", "prettier", "prettier/react"]
  },
  "prettier": "@kinvolk/eslint-config/prettier-config",

Development

Eslint rules should be modified in the .eslintrc.yml file in this repo.

Generate index.js

The index.js file is generated from .eslintrc.yml, and can be generated using:

make

License

Kinvolk's eslint-config is licensed under Apache 2.0.