Skip to content

@byndyusoft/eslint-config - shareable config for eslint

License

Notifications You must be signed in to change notification settings

Byndyusoft/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config

NPM version

Requirements

  • ESLint v8.57.0 or later, but less than v9.0.0

Install

$ npm i eslint@^8.57.0 --save-dev
$ npm i eslint @byndyusoft/eslint-config --save-dev

Note: If you have React project created with create-react-app, then you haven't install eslint manually, because it comes with react-scripts. Otherwise it won't let you run eslint until you remove it from package.json.

Usage

Backend

Node + TypeScript/JavaScript + Jest

{
  "extends": [
    "@byndyusoft/eslint-config/backend"
  ]
}

package.json

{
  "engines": {
    "node": ">=8.10.0"
  }
}

Frontend

React + TypeScript/JavaScript + Jest

{
  "extends": [
    "@byndyusoft/eslint-config/frontend"
  ]
}

Maintainers