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

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.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 3454a27: enable projectService only when ENV var is set
8
+ - @effect-app/eslint-codegen-model@1.42.3
9
+
3
10
  ## 0.0.10
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.10",
3
+ "version": "0.0.11",
4
4
  "description": "Shared flat ESLint base & vue configs for effect-app monorepo",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -65,8 +65,8 @@ 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
- ...({
69
- tsconfigRootDir: dirName,
68
+ tsconfigRootDir: dirName,
69
+ ...(enableTS && {
70
70
  projectService: true
71
71
  })
72
72
  }
@@ -41,9 +41,9 @@ export function vueConfig(dirName, forceTS = false, dprintConfigFile ) {
41
41
  "ts": tseslint.parser,
42
42
  "js": tseslint.parser,
43
43
  },
44
- ...({
44
+ tsconfigRootDir: dirName,
45
+ ...(enableTS && {
45
46
  projectService: true,
46
- tsconfigRootDir: dirName,
47
47
  }),
48
48
  extraFileExtensions: [".vue"]
49
49
  }