Added eslint.
Removed old linter. Signed-off-by: Armored Dragon <publicmail@armoreddragon.com>pull/6/head^2
parent
0dd6a7fa00
commit
f4bf5c37d9
|
@ -0,0 +1,4 @@
|
||||||
|
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 }] } }, pluginJs.configs.recommended];
|
File diff suppressed because it is too large
Load Diff
|
@ -19,6 +19,9 @@
|
||||||
"author": "Armored Dragon",
|
"author": "Armored Dragon",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@eslint/js": "^9.6.0",
|
||||||
|
"eslint": "^9.6.0",
|
||||||
|
"globals": "^15.8.0",
|
||||||
"nodemon": "^3.0.1"
|
"nodemon": "^3.0.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Reference in New Issue