23 lines
464 B
JavaScript
23 lines
464 B
JavaScript
import js from "@eslint/js";
|
|
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
|
import globals from "globals";
|
|
|
|
export default [
|
|
{
|
|
ignores: ["dist", "userscript"],
|
|
},
|
|
eslintPluginPrettierRecommended,
|
|
js.configs.recommended,
|
|
{
|
|
rules: {
|
|
"no-unused-vars": "warn",
|
|
"no-undef": "warn",
|
|
},
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.browser,
|
|
l: "readonly",
|
|
},
|
|
},
|
|
},
|
|
];
|