@effect-app/eslint-shared-config 0.0.9 → 0.0.10

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,12 @@
1
1
  # @effect-app/eslint-shared-config
2
2
 
3
+ ## 0.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 01e379a: always set tsconfigRootDir
8
+ - @effect-app/eslint-codegen-model@1.42.3
9
+
3
10
  ## 0.0.9
4
11
 
5
12
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect-app/eslint-shared-config",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Shared flat ESLint base & vue configs for effect-app monorepo",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -65,8 +65,7 @@ export function baseConfig(dirName, forceTS = false, project = undefined) {
65
65
  parser: tsParser,
66
66
  parserOptions: {
67
67
  extraFileExtensions: [".vue"], // should be the same as vue config for perfomance reasons (https://typescript-eslint.io/troubleshooting/typed-linting/performance#project-service-issues)
68
- ...(enableTS
69
- && {
68
+ ...({
70
69
  tsconfigRootDir: dirName,
71
70
  projectService: true
72
71
  })
@@ -21,7 +21,7 @@ export function vueConfig(dirName, forceTS = false, dprintConfigFile ) {
21
21
  if (!dprintConfigFile) dprintConfigFile = DEFAULT_DPRINT_CONFIG
22
22
  console.log("Using dprint config file:", dprintConfigFile)
23
23
 
24
- const enableTS = !!dirName && (forceTS || process.env["ESLINT_TS"])
24
+ // const enableTS = !!dirName && (forceTS || process.env["ESLINT_TS"])
25
25
 
26
26
  return [
27
27
  ...baseConfig(dirName, forceTS),
@@ -41,7 +41,7 @@ export function vueConfig(dirName, forceTS = false, dprintConfigFile ) {
41
41
  "ts": tseslint.parser,
42
42
  "js": tseslint.parser,
43
43
  },
44
- ...(enableTS && {
44
+ ...({
45
45
  projectService: true,
46
46
  tsconfigRootDir: dirName,
47
47
  }),