1.0.1 • Published 6 years ago

@ktxtr/eslint-config v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

kontextR eslint config

Created by yours truly :heart:

This repository holds kontextR's global eslint configuration files. It is published under the ISC license.

How to use it

Install the configuration like any other using npm npm install --save-dev @ktxtr/eslint-config. You can use it by adding extends: [ "@ktxtr/eslint-config" ] to your .eslintrc file.

Additional configurations

The basic configuration contains linters for generic js code. There are a couple of other specialized configurations you can use alongside the generic one using extends: [ "@ktxtr/eslint-config/<name>" ] and replacing <name> with one of:

  • jest: for linting jest test files
  • inferno: for linting inferno framework based files

The main package contains, due to these additional configurations, additional peer dependencies. If you do not use these you can safely ignore the peer dependency warnings.