@robot-inventor/eslint-config 11.1.0 → 11.1.2

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/dist/index.js +2 -1
  2. package/package.json +4 -5
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineConfig } from "eslint/config";
2
2
  import { flatConfigs as importXFlatConfigs } from "eslint-plugin-import-x";
3
- import { configs as nextEslintConfigs, rules as nextEslintRules } from "@next/eslint-plugin-next";
3
+ import $nextPlugin from "@next/eslint-plugin-next";
4
4
  import eslint from "@eslint/js";
5
5
  import eslintConfigPrettier from "eslint-config-prettier";
6
6
  import jsdoc from "eslint-plugin-jsdoc";
@@ -131,6 +131,7 @@ const eslintReactConfigBase = defineConfig(reactHooks.configs.flat["recommended-
131
131
  });
132
132
  const eslintReactConfig = defineConfig(...eslintConfig, ...eslintReactConfigBase);
133
133
  const eslintReactConfigNoJSDoc = defineConfig(...eslintConfigNoJSDoc, ...eslintReactConfigBase);
134
+ const { configs: nextEslintConfigs, rules: nextEslintRules } = $nextPlugin;
134
135
  const nextPlugin = {
135
136
  rules: nextEslintRules
136
137
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robot-inventor/eslint-config",
3
- "version": "11.1.0",
3
+ "version": "11.1.2",
4
4
  "description": "My ESLint config preset",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "scripts": {
11
11
  "build": "tsc",
12
- "lint": "eslint \"./src/**/*.ts\"",
12
+ "lint": "eslint --flag unstable_native_nodejs_ts_config \"./src/**/*.ts\"",
13
13
  "format": "prettier --write ./**/*.ts",
14
14
  "format:check": "prettier --check ./**/*.ts",
15
15
  "ci:version": "changeset version",
@@ -39,7 +39,7 @@
39
39
  "eslint-config-prettier": "^10.0.0",
40
40
  "eslint-import-resolver-typescript": "^4.0.0",
41
41
  "eslint-plugin-import-x": "^4.0.0",
42
- "eslint-plugin-jsdoc": "^61.0.0",
42
+ "eslint-plugin-jsdoc": "^62.0.0",
43
43
  "eslint-plugin-react": "^7.37.3",
44
44
  "eslint-plugin-react-compiler": "^19.0.0-beta-e552027-20250112",
45
45
  "eslint-plugin-react-hooks": "^7.0.1",
@@ -50,8 +50,7 @@
50
50
  "@changesets/cli": "^2.27.1",
51
51
  "@eslint-types/jsdoc": "^48.2.2",
52
52
  "@eslint-types/typescript-eslint": "^7.5.0",
53
- "@robot-inventor/tsconfig-base": "^6.0.0",
54
- "jiti": "^2.6.1",
53
+ "@robot-inventor/tsconfig-base": "^7.0.0",
55
54
  "prettier": "^3.6.2",
56
55
  "typescript": "^5.4.4"
57
56
  },