1.0.1 • Published 2 years ago

eslint-config-simtechdev v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Package info

eslint-config-simtechdev is a simple es-lint plugin used for projects based on react and typescript

This plugin contains:

Getting started

Install package:

npm i -D eslint-plugin-simtechdev-typescript

or

yarn: `yarn add -D eslint-plugin-simtechdev-typescript`

Usage

1. Add plugin to ES-Lint configuration

Add plugin name simtechdev to "extends" section of ES-Lint configuration:

  • Example configuration in .eslintrc file:
{
  "extends": ["simtechdev"]
}
  • Example configuration in package.json:
"eslintConfig": {
    "extends": [
      "simtechdev"
    ]
  }

2. Configure your IDE to applying plugin rules on save

Example of vs-code configuration file settings.json:

"editor.codeActionsOnSave": {
  "source.fixAll.eslint": true
}