Added ESLint
This commit is contained in:
1 parent
e80494b80f
commit
26d19fa2f6
4 files changed
+1071
-1
No files matched your search
@@ -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,
|
||||
];
|
||||
Reference in new issue
Block a user