@4mbl/lint 0.0.0-beta.afda011 → 0.0.0-beta.c4e49f3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @4mbl/lint
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2c91355: Move dependencies not to be dev-only
8
+
3
9
  ## 0.1.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4mbl/lint",
3
- "version": "0.0.0-beta.afda011",
3
+ "version": "0.0.0-beta.c4e49f3",
4
4
  "description": "Linting configuration for various environments.",
5
5
  "type": "module",
6
6
  "author": "4mbl",
@@ -23,11 +23,13 @@
23
23
  "keywords": [
24
24
  "lint"
25
25
  ],
26
- "devDependencies": {
26
+ "dependencies": {
27
27
  "@eslint/js": "^9.38.0",
28
28
  "eslint": "^9.38.0",
29
29
  "eslint-config-next": "^16.0.1",
30
+ "eslint-config-prettier": "^10.1.8",
30
31
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
32
+ "eslint-plugin-react-hooks": "^7.0.1",
31
33
  "jiti": "^2.6.1",
32
34
  "typescript-eslint": "^8.46.2"
33
35
  },
package/src/next.ts CHANGED
@@ -5,6 +5,8 @@ import nextTs from 'eslint-config-next/typescript';
5
5
  import * as reactCompiler from 'eslint-plugin-react-compiler';
6
6
  import { defineConfig, globalIgnores, Config } from 'eslint/config';
7
7
  import tseslint from 'typescript-eslint';
8
+ import prettier from 'eslint-config-prettier/flat';
9
+ import reactHooks from 'eslint-plugin-react-hooks';
8
10
 
9
11
  export { Config };
10
12
 
@@ -20,11 +22,13 @@ export default defineConfig([
20
22
  },
21
23
  ...nextVitals,
22
24
  ...nextTs,
23
- globalIgnores(['.next/**', 'out/**', 'build/**', 'next-env.d.ts']),
25
+ reactHooks.configs.recommended,
24
26
  reactCompiler.configs.recommended,
25
27
  {
26
28
  rules: {
27
29
  'react-compiler/react-compiler': 'error',
28
30
  },
29
31
  },
32
+ prettier,
33
+ globalIgnores(['.next/**', 'out/**', 'build/**', 'next-env.d.ts']),
30
34
  ]) satisfies Config[];