@kickstage/eslint-config-nextjs-ts

1.0.11 • Public • Published

eslint-config-nextjs-ts

This package provides Kickstage's ESLint NextJS TypeScript shareable config.

Usage

  1. Install the required packages:

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

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

License

The MIT License

Credits

Maintained by Kickstage.

Readme

Keywords

none

Package Sidebar

Install

npm i @kickstage/eslint-config-nextjs-ts

Weekly Downloads

0

Version

1.0.11

License

MIT

Unpacked Size

2.91 kB

Total Files

5

Last publish

Collaborators

  • ljuborados-kstg
  • kstg-management