Skip to content

Commit

Permalink
Replaced eslint-plugin-json-schema-validator w/ far unbuggier eslint-…
Browse files Browse the repository at this point in the history
…plugin-json
  • Loading branch information
adamlui committed Jun 25, 2024
1 parent 9f52556 commit b5be4f6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 314 deletions.
4 changes: 2 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import js from '@eslint/js';
import globals from 'globals';
import eslintPluginJsonSchemaValidator from 'eslint-plugin-json-schema-validator';
import json from 'eslint-plugin-json';

export default [
js.configs.recommended,
Expand All @@ -25,5 +25,5 @@ export default [
}
},
{ files: ['**/*.mjs','**/lib/*.js'], languageOptions: { sourceType: 'module' }},
...eslintPluginJsonSchemaValidator.configs['flat/recommended']
{ files: ['**/*.json'], ...json.configs['recommended'] }
];
Loading

0 comments on commit b5be4f6

Please sign in to comment.