eslint-config-decent 2.5.0-beta1 → 2.5.0-beta2

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/dist/index.cjs CHANGED
@@ -851,7 +851,7 @@ function tsEslintConfig(options) {
851
851
  files: ["**/*.tsx"],
852
852
  settings: {
853
853
  next: {
854
- rootDir: options?.nextJsRootDir ?? undefined
854
+ rootDir: options?.nextJsRootDir
855
855
  }
856
856
  },
857
857
  ...configs$6.base
package/dist/index.mjs CHANGED
@@ -829,7 +829,7 @@ function tsEslintConfig(options) {
829
829
  files: ["**/*.tsx"],
830
830
  settings: {
831
831
  next: {
832
- rootDir: options?.nextJsRootDir ?? import.meta.dirname
832
+ rootDir: options?.nextJsRootDir
833
833
  }
834
834
  },
835
835
  ...configs$6.base
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-decent",
3
- "version": "2.5.0-beta1",
3
+ "version": "2.5.0-beta2",
4
4
  "description": "A decent ESLint configuration",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
package/src/index.ts CHANGED
@@ -145,7 +145,7 @@ export function tsEslintConfig(options?: DefaultConfigOptions): ConfigWithExtend
145
145
  files: ['**/*.tsx'],
146
146
  settings: {
147
147
  next: {
148
- rootDir: options?.nextJsRootDir ?? import.meta.dirname,
148
+ rootDir: options?.nextJsRootDir,
149
149
  },
150
150
  },
151
151
  ...nextJsConfigs.base,