0.0.3 • Published 3 years ago

eslint-config-sanches-test v0.0.3

Weekly downloads
57
License
MIT
Repository
-
Last release
3 years ago

ESLint Config MP

This package provides Meu Patrocínio's .eslintrc as an extensible shared config.

How to use

First you need to install this library with the following command in terminal

npm install save-dev eslint-config-sanches-test

Then on your regular ESLint configuration file, add

extends: [
  "sanches",
],

This will add recommended rules from ESLint, TypeScript-ESLint and Unicorn.

Available configurations

sanches-recommended

This entrypoing has sanches's recommended configurations for all projects.

To use it, add the following to your .eslintrc file

extends: [
  "sanches",
  "sanches/recommended"
],

typescript

This entrypoing has sanches's recommended configurations for TypeScript projects.

To use it, add the following to your .eslintrc file

extends: [
  "sanches",
  "sanches/typescript"
],

frontend

This entrypoing has configurations for frontend projects.

To use it, add the following to your .eslintrc file

extends: [
  "sanches",
  "sanches/frontend"
],