mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-01-18 16:37:40 +01:00
10 lines
364 B
JavaScript
10 lines
364 B
JavaScript
import globals from "globals";
|
|
import json from "@eslint/json";
|
|
import { defineConfig } from "eslint/config";
|
|
|
|
export default defineConfig([
|
|
{ files: ["**/*.{js,mjs,cjs}"], languageOptions: { globals: globals.node } },
|
|
{ files: ["**/*.json"], plugins: { json }, language: "json/json" },
|
|
{ files: ["**/*.jsonc"], plugins: { json }, language: "json/jsonc" },
|
|
]);
|