UNPKG

@sourcemeta/jsonschema

Version:

The CLI for working with JSON Schema. Covers formatting, linting, testing, and much more for both local development and CI/CD pipelines

11 lines (9 loc) 410 B
import { defineConfig } from "eslint/config"; import globals from "globals"; import js from "@eslint/js"; export default defineConfig([ { files: ["**/*.{js,mjs,cjs}"] }, { files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } }, { files: ["**/*.{js,mjs,cjs}"], languageOptions: { globals: globals.node } }, { files: ["**/*.{js,mjs,cjs}"], plugins: { js }, extends: ["js/recommended"] }, ]);