5 lines
376 B
JavaScript
5 lines
376 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 }], "semi-style": ["error", "last"], } }, pluginJs.configs.recommended];
|