@infinumjs/eslint-config-nextjs-ts

3.5.0 • Public • Published

eslint-config-nextjs-ts

This package provides Infinum'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 @infinumjs/eslint-config-nextjs-ts
  2. Extend your ESLint config:

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

License

The MIT License

Credits

@infinumjs/eslint-config-nextjs-ts is maintained and sponsored by Infinum.

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

282

Version

3.5.0

License

MIT

Unpacked Size

3.75 kB

Total Files

6

Last publish

Collaborators

  • infinumcom
  • jjanus
  • danipavic
  • safo6m
  • fvoska
  • darkokukovec