@fourjs/eslint-config-tn

4.2.1 • Public • Published

eslint-rules

Build Status Dependabot Status
GitHub license

Standard eslint rules

Installation

npm i @fourjs/eslint-config-tn -D

Install peer denpendencies as required npm install eslint-plugin-import eslint-plugin-jest eslint-plugin-react -D

Setup

Extend @fourjs/eslint-config-tn to apply rules.

{
  "extends": [
    "@fourjs/eslint-config-tn"
  ],
  "parser": "babel-eslint"
}

Override rules by adding rules as mentioned below

{
  "extends": [
    "@fourjs/eslint-config-tn"
  ],
  "parser": "babel-eslint",
  "rules": {
    ...
  }
}

Provides different type of linting's which can be extented

@fourjs/eslint-config-tn -> This provides lint rules for your Javascript code

@fourjs/eslint-config-tn/jest -> This provides lint rule for jest unit tests

@fourjs/eslint-config-tn/react -> This provides lint rule for React code

@fourjs/eslint-config-tn/all -> This combines all rules for Javascript, Jest and React

Package Sidebar

Install

npm i @fourjs/eslint-config-tn

Weekly Downloads

1

Version

4.2.1

License

MIT

Unpacked Size

14.8 kB

Total Files

10

Last publish

Collaborators

  • tusharnimje