1.0.0 • Published 3 years ago

@locastic/eslint-config-react-ts v1.0.0

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

Usage

  1. Install the required packages:

    npm install --save-dev eslint eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks @typescript-eslint/eslint-plugin @typescript-eslint/parser @locastic/eslint-config-react-ts
  2. Extend your ESLint config:

    {
    	"extends": "@locastic/eslint-config-react-ts",
    	"overrides": [
    		{
    			"files": ["*.ts", "*.tsx"],
    			"parserOptions": {
    				"project": ["./tsconfig.json"]
    			}
    		}
    	],
    	"parser": "@typescript-eslint/parser"
    }

License

The MIT License