Skip to content

Commit

Permalink
fix: breaking config
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jan 15, 2024
1 parent b70c5fe commit 64ec97f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/configs/base.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export default {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- ignore
// @ts-ignore -- backward compatibility
export = {
plugins: ["json-schema-validator"],
overrides: [
{
Expand Down
4 changes: 3 additions & 1 deletion src/configs/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const baseExtend =
path.extname(`${base}`) === ".ts"
? "plugin:json-schema-validator/base"
: base;
export default {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- ignore
// @ts-ignore -- backward compatibility
export = {
extends: [baseExtend],
rules: {
// eslint-plugin-json-schema-validator rules
Expand Down
4 changes: 3 additions & 1 deletion tools/update-rulesets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ import path from "path"
const base = require.resolve("./base")
const baseExtend =
path.extname(\`\${base}\`) === ".ts" ? "plugin:json-schema-validator/base" : base
export default {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment -- ignore
// @ts-ignore -- backward compatibility
export = {
extends: [baseExtend],
rules: {
// eslint-plugin-json-schema-validator rules
Expand Down

0 comments on commit 64ec97f

Please sign in to comment.