5 lines
340 B
JavaScript
5 lines
340 B
JavaScript
|
import globals from "globals";
|
||
|
import pluginJs from "@eslint/js";
|
||
|
|
||
|
export default [{ files: ["**/*.js"], languageOptions: { sourceType: "commonjs" } }, { languageOptions: { globals: globals.browser } }, { rules: { "no-unused-vars": "error", "no-undef": "error", indent: ["error", "tab", { tabWidth: 4 }] } }, pluginJs.configs.recommended];
|