eslint-config-for-tsx
v1.0.0
Published
Common eslint config for tsx
Downloads
1
Readme
eslint-config-for-tsx
eslint-config-for-tsx is designed for react .tsx
file,it contains serveral popular js code styles: airbnb-base,standard,google,it's compatible with prettier.
Installation
$ npx install-peerdeps -D eslint-config-for-tsx
Usage
To use airbnb-base style, set eslint config:
{
"extends": ["for-tsx/airbnb"]
}
To use standard style, set eslint config:
{
"extends": ["for-tsx/standard"]
}
To use google style, set eslint config:
{
"extends": ["for-tsx/google"]
}