mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
chore: update eslint config
This commit is contained in:
parent
a43cab0c93
commit
7c227ad967
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user