wnyao / eslint-config-wnyao

An basic and opinionated React TypeScript eslint config for my personal use.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config-wnyao

An basic and opinionated React TypeScript eslint config for my personal use.

Installation

npm i -D https://github.com/wnyao/eslint-config-wnyao.git

Usage

Install eslint-config-wnyao in your package

devDependencies: {
  "eslint-config-wnyao": "^0.0.0"
}

Add to your eslint config :

module.exports = {
  extends: 'wnyao',
  ...
};

Settings (local development)

Make sure the following JSON is added into your local settings file:

"eslint.validate": ["typescript", "typescriptreact"],

About

An basic and opinionated React TypeScript eslint config for my personal use.


Languages

Language:JavaScript 100.0%