@st1ggy/linter-config 1.0.55 → 1.0.56

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.
package/bun.lockb CHANGED
Binary file
package/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export { default as eslintCommon } from './src/eslint/eslint.config.common.js'
2
2
  export { default as eslintTypescript } from './src/eslint/eslint.config.typescript.js'
3
3
  export { default as eslintReact } from './src/eslint/eslint.config.react.js'
4
+ export { default as eslintNext } from './src/eslint/eslint.config.next.js'
4
5
 
5
6
  export { default as prettierCommon } from './src/prettier/prettier.config.common.js'
6
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@st1ggy/linter-config",
3
- "version": "1.0.55",
3
+ "version": "1.0.56",
4
4
  "description": "ESLint, Stylelint and Prettier configs for React, Vue [WIP] and Svelte [WIP]",
5
5
  "private": false,
6
6
  "main": "index.js",
@@ -22,7 +22,7 @@
22
22
  "peerDependencies": {
23
23
  "@eslint/js": "8.57.0",
24
24
  "eslint": "8.57.0",
25
- "eslint-config-next": "14.2.3",
25
+ "eslint-config-next": "1",
26
26
  "eslint-config-prettier": "9.1.0",
27
27
  "eslint-import-resolver-typescript": "3.6.1",
28
28
  "eslint-plugin-import": "2.29.1",
@@ -34,7 +34,7 @@
34
34
  "gently-copy": "3.2.0",
35
35
  "prettier": "3.2.5",
36
36
  "stylelint": "16.5.0",
37
- "stylelint-config-recommended": "^14.0.0",
37
+ "stylelint-config-recommended": "14.0.0",
38
38
  "stylelint-config-sass-guidelines": "11.1.0",
39
39
  "stylelint-config-tailwindcss": "0.0.7",
40
40
  "typescript": "5.4.5",
@@ -0,0 +1,16 @@
1
+ import nextPlugin from '@next/eslint-plugin-next'
2
+
3
+ import react from './eslint.config.react.js'
4
+
5
+ export default [
6
+ ...react,
7
+ {
8
+ plugins: {
9
+ '@next/next': nextPlugin,
10
+ },
11
+ rules: {
12
+ ...nextPlugin.configs.recommended.rules,
13
+ ...nextPlugin.configs['core-web-vitals'].rules,
14
+ },
15
+ },
16
+ ]