@robot-inventor/eslint-config 10.0.1 → 10.1.1

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 -2
  2. package/package.json +2 -3
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { config, configs as tseslintConfigs } from "typescript-eslint";
2
+ import { flatConfigs as importXFlatConfigs } from "eslint-plugin-import-x";
2
3
  import eslint from "@eslint/js";
3
4
  import eslintConfigPrettier from "eslint-config-prettier";
4
- import importX from "eslint-plugin-import-x";
5
5
  import jsdoc from "eslint-plugin-jsdoc";
6
6
  import react from "eslint-plugin-react";
7
7
  // eslint-disable-next-line import-x/max-dependencies
@@ -68,7 +68,7 @@ const jsdocRules = {
68
68
  }
69
69
  ]
70
70
  };
71
- const eslintConfigNoJSDoc = config(eslint.configs.all, jsdoc.configs["flat/recommended-typescript-error"], eslintConfigPrettier, ...tseslintConfigs.strictTypeChecked, ...tseslintConfigs.stylisticTypeChecked, importX.flatConfigs.recommended, importX.flatConfigs.typescript, {
71
+ const eslintConfigNoJSDoc = config(eslint.configs.all, jsdoc.configs["flat/recommended-typescript-error"], eslintConfigPrettier, ...tseslintConfigs.strictTypeChecked, ...tseslintConfigs.stylisticTypeChecked, importXFlatConfigs.recommended, importXFlatConfigs.typescript, {
72
72
  languageOptions: {
73
73
  parserOptions: {
74
74
  projectService: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robot-inventor/eslint-config",
3
- "version": "10.0.1",
3
+ "version": "10.1.1",
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": "npx eslint ./src/**/*.ts",
12
+ "lint": "eslint --flag unstable_native_nodejs_ts_config \"./src/**/*.ts\"",
13
13
  "ci:version": "changeset version",
14
14
  "ci:publish": "npm run build && changeset publish"
15
15
  },
@@ -52,7 +52,6 @@
52
52
  "@robot-inventor/tsconfig-base": "^6.0.0",
53
53
  "@types/eslint": "^9.6.1",
54
54
  "@types/eslint__eslintrc": "^2.1.2",
55
- "jiti": "^2.0.0",
56
55
  "typescript": "^5.4.4"
57
56
  },
58
57
  "overrides": {