15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
import globals from "globals";
|
|
import pluginJs from "@eslint/js";
|
|
|
|
|
|
export default [
|
|
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
|
|
{languageOptions: { globals: globals.browser }},
|
|
pluginJs.configs.recommended,
|
|
{
|
|
rules: {
|
|
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
|
|
"semi": "error"
|
|
}
|
|
}
|
|
]; |