1.0.6 • Published 3 years ago

@galileo01/eslint-config-react-ts v1.0.6

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

eslint-config-react-ts

custom ESLint config, for react and ts, depends on airbnb、plugin-react、plugin-prettier and so on

usage

install

npm i @galileo01/eslint-config-react-ts -D

use config

//file .eslintrc.js
{
  ...
  extends: ['@galileo01/eslint-config-react-ts'],
}

recommend

It is recommended to create ”.prettierrc.js“ with the following config content

// file: .prettierrc.js
module.exports = {
  semi: false,
  tabWidth: 2,
  singleQuote: true,
  trailingComma: 'es5',
};