@valtech-commerce/eslint-config
Opinionated ESLint shareable configs.
Rulesets
Dependency tree
graph TD;
core --> browser & node/script & node/module
browser --> react
react --> react/typescript
node/module --> jest & node/module/typescript
jsdoc
json
typescript
Install
$ npm install @valtech-commerce/eslint-config
Usage
Add some ESLint config to your .eslintrc.yaml
:
extends: "@valtech-commerce/eslint-config/[RULESET]"
Specifications
core
Used plugins / configuration
typescript
Add your tsconfig file to your .eslintrc.yaml
:
parserOptions:
project:
- "./tsconfig.json"
Used parser / plugin / configuration
node/script
Used plugin / configuration
node/module
Used plugin / configuration
node/module/typescript
Add your tsconfig file to your .eslintrc.yaml
:
settings:
import/resolver:
typescript:
project: "./tsconfig.json"
Used configuration
jest
Used plugin / configuration
react
Used parser / plugin / configuration
jsdoc
Used plugin / configuration
json
Used plugin / configuration
Documentation
See the Changelog to see what has changed.
Contribute
See the Contributing Guidelines for ways to get started.
See the Support Guide for ways to get help.
See the Security Policy for sharing vulnerability reports.
This project has a Code of Conduct.
By interacting with this repository, organization, or community you agree to abide by its terms.
License
MIT © Valtech Canada inc.