Added ESLint

This commit is contained in:
uxname committed 2024-07-30 15:43:54 +03:00
1 parent e80494b80f
commit 26d19fa2f6
4 files changed
+1071 -1

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
import globals from "globals";
import pluginJs from "@eslint/js";
export default [
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
{languageOptions: {globals: globals.browser}},
pluginJs.configs.recommended,
];