@tata-v/eslint-config-nextjs 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,10 +1,12 @@
1
- Install
1
+ `eslint-config-next` is included by `@tata-v/eslint-config-nextjs` and does not need to be installed separately.
2
+
3
+ ### Install
2
4
 
3
5
  ```bash
4
- pnpm add -D @tata-v/eslint-config-nextjs
6
+ pnpm add -D @tata-v/eslint-config-nextjs@latest
5
7
  ```
6
8
 
7
- eslint.config.mjs
9
+ ### eslint.config.mjs
8
10
 
9
11
  ```mjs
10
12
  import { defineConfig, globalIgnores } from 'eslint/config';
@@ -20,7 +22,7 @@ export default defineConfig([
20
22
  'next-env.d.ts',
21
23
  ]),
22
24
 
23
- // Project-specific overrides
25
+ // Project-specific overrides (optional)
24
26
  {
25
27
  rules: {
26
28
  '@next/next/no-img-element': 'off',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tata-v/eslint-config-nextjs",
3
- "version": "2.0.4",
3
+ "version": "2.0.5",
4
4
  "main": "index.js",
5
5
  "keywords": [],
6
6
  "author": {