2.6.0 • Published 6 months ago

@wildweb/eslint-config v2.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@wildweb/eslint-config

ESLint shareable config for Next.js

Installation

npm i -D @wildweb/eslint-config

Setup

  1. Add a .eslintrc.js file to your project
{
	"extends": "@wildweb/eslint-config",
	"settings": {
		"tailwindcss": {
			"config": "tailwind.config.cjs"
		}
	}
}
  1. Enable auto-fix in vscode: update settings.json
{
	"typescript.tsdk": "./node_modules/typescript/lib",
	"typescript.preferences.importModuleSpecifier": "non-relative",
	"editor.defaultFormatter": "esbenp.prettier-vscode",
	"editor.formatOnSave": true,
	"editor.codeActionsOnSave": [
		"source.addMissingImports",
		"source.fixAll.eslint"
	]
}

Ignore paths: update .eslintignore

**/node_modules/*
**/out/*
**/.next/*

pnpm-lock.yaml
next-env.d.ts

*.mjs
*.cjs
1.2.0

9 months ago

3.0.3-23

6 months ago

3.0.3-4

6 months ago

3.0.3-24

6 months ago

3.0.3-3

6 months ago

3.0.3-25

6 months ago

3.0.3-6

6 months ago

3.0.3-26

6 months ago

3.0.3-5

6 months ago

3.0.3-8

6 months ago

1.6.0

9 months ago

3.0.3-20

6 months ago

3.0.3-7

6 months ago

3.0.3-21

6 months ago

1.4.0

9 months ago

3.0.3-22

6 months ago

3.0.3-9

6 months ago

2.2.0

9 months ago

2.4.0

7 months ago

2.6.0

6 months ago

2.0.0

9 months ago

3.0.3-16

6 months ago

3.0.3-17

6 months ago

3.0.3-18

6 months ago

3.0.3-19

6 months ago

3.0.3-12

6 months ago

3.0.3-13

6 months ago

3.0.3-14

6 months ago

3.0.3-15

6 months ago

3.0.3-10

6 months ago

3.0.3-11

6 months ago

3.0.3-2

6 months ago

3.0.3-1

6 months ago

1.6.1-0

9 months ago

1.1.0

10 months ago

1.5.0

9 months ago

1.3.0

9 months ago

2.3.0

8 months ago

2.5.0

7 months ago

2.5.1

7 months ago

2.1.0

9 months ago

3.0.0-0

8 months ago

1.0.1

10 months ago

1.0.0

10 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago