chore: update eslint config

This commit is contained in:
KernelDeimos 2024-07-07 15:44:48 -04:00 committed by Eric Dubé
parent a43cab0c93
commit 7c227ad967

View File

@ -10,7 +10,7 @@ export default [
"**/*.min.js", "**/*.min.js",
"**/src/lib/**", "**/src/lib/**",
"**/dist/", "**/dist/",
"packages/backend/src/public/assets/**", "src/backend/src/public/assets/**",
], ],
}, },
{ {
@ -27,7 +27,7 @@ export default [
{ {
// Back end // Back end
files: [ files: [
"packages/backend/**/*.js", "src/backend/**/*.js",
"mods/**/*.js", "mods/**/*.js",
"dev-server.js", "dev-server.js",
"utils.js", "utils.js",
@ -45,13 +45,10 @@ export default [
{ {
// Front end // Front end
files: [ files: [
"index.js",
"initgui.js",
"src/**/*.js", "src/**/*.js",
"packages/**/*.js",
], ],
ignores: [ ignores: [
"packages/backend/**/*.js", "src/backend/**/*.js",
], ],
languageOptions: { languageOptions: {
globals: { globals: {
@ -118,7 +115,7 @@ export default [
{ {
// Phoenix // Phoenix
files: [ files: [
"packages/phoenix/**/*.js", "src/phoenix/**/*.js",
], ],
languageOptions: { languageOptions: {
globals: { globals: {