@satisfactory-dev/docs.json.ts 0.9.3 → 0.10.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.
package/README.md CHANGED
@@ -75,6 +75,7 @@
75
75
  cache_path: `${__dirname}/data/`,
76
76
  });
77
77
  ```
78
+ 1. note: this package will auto-fix issues in generated code according to eslint configs relative to the directory passed to `TypeDefinitionWriter::write()`
78
79
 
79
80
  # License
80
81
 
@@ -178,6 +178,7 @@ export async function format_code(code, parser = 'typescript') {
178
178
  export async function eslint_generated_types(parent_folder) {
179
179
  const eslint = new ESLint({
180
180
  fix: true,
181
+ cwd: parent_folder,
181
182
  cache: true,
182
183
  cacheLocation: `${parent_folder}/.eslintcache`,
183
184
  cacheStrategy: 'content',
package/package.json CHANGED
@@ -37,5 +37,5 @@
37
37
  "typescript": "~5.5.2",
38
38
  "typescript-eslint": "^8.2.0"
39
39
  },
40
- "version": "0.9.3"
40
+ "version": "0.10.1"
41
41
  }