js-style-kit 0.5.0 → 0.5.2

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.d.ts CHANGED
@@ -10,7 +10,7 @@ import { PluginOptions } from 'prettier-plugin-tailwindcss';
10
10
  */
11
11
  declare const configNames: {
12
12
  readonly base: "base";
13
- readonly disableTypeChecked: "typescript-eslint/disable-type-checked";
13
+ readonly disableTypeChecked: "UserConfig[1] > typescript-eslint/disable-type-checked";
14
14
  readonly ignores: "ignores";
15
15
  readonly import: "import";
16
16
  readonly jsdoc: "jsdoc";
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ var isObject = (value) => {
9
9
  // src/eslint/constants.ts
10
10
  var configNames = {
11
11
  base: "base",
12
- disableTypeChecked: "typescript-eslint/disable-type-checked",
12
+ disableTypeChecked: "UserConfig[1] > typescript-eslint/disable-type-checked",
13
13
  ignores: "ignores",
14
14
  import: "import",
15
15
  jsdoc: "jsdoc",
@@ -1223,6 +1223,7 @@ var turboConfig = (customRules) => ({
1223
1223
  });
1224
1224
 
1225
1225
  // src/eslint/typescript/config.ts
1226
+ import { defineConfig } from "eslint/config";
1226
1227
  import tseslint from "typescript-eslint";
1227
1228
 
1228
1229
  // src/eslint/typescript/rules.ts
@@ -1365,7 +1366,7 @@ var tseslintRules = {
1365
1366
  // src/eslint/typescript/config.ts
1366
1367
  var tseslintConfig = (tsconfigPath, customRules) => {
1367
1368
  const userCwd = process.cwd();
1368
- return tseslint.config(
1369
+ return defineConfig(
1369
1370
  {
1370
1371
  files: ["**/*.{js,cjs,mjs,ts,jsx,tsx}"],
1371
1372
  languageOptions: {