diff --git a/admin/package.json b/admin/package.json index 8fcb9ee7..f8d4f4d6 100644 --- a/admin/package.json +++ b/admin/package.json @@ -10,6 +10,7 @@ "strapi": "strapi", "default_user": "strapi admin:create-user --firstname=Admin --lastname=Adin --email=admin@nil.foundation --password=XYgiXDOcg4Lfpv6g", "lint": "npx @biomejs/biome check src", + "lint:fix": "npx @biomejs/biome check src --apply", "format": "npx @biomejs/biome format src", "format:fix": "npx @biomejs/biome format src --write" }, diff --git a/admin/src/api/blog/controllers/blog.ts b/admin/src/api/blog/controllers/blog.ts index 28a5072b..aa337826 100644 --- a/admin/src/api/blog/controllers/blog.ts +++ b/admin/src/api/blog/controllers/blog.ts @@ -1,5 +1,3 @@ -'use strict' - /** * blog controller */ diff --git a/admin/src/api/blog/routes/blog.ts b/admin/src/api/blog/routes/blog.ts index 8712a7fd..52d24062 100644 --- a/admin/src/api/blog/routes/blog.ts +++ b/admin/src/api/blog/routes/blog.ts @@ -1,5 +1,3 @@ -'use strict' - /** * blog router */ diff --git a/admin/src/api/blog/services/blog.ts b/admin/src/api/blog/services/blog.ts index ac6cb1a2..f4f423d2 100644 --- a/admin/src/api/blog/services/blog.ts +++ b/admin/src/api/blog/services/blog.ts @@ -1,5 +1,3 @@ -'use strict' - /** * blog service */ diff --git a/admin/src/api/category/controllers/category.ts b/admin/src/api/category/controllers/category.ts index fc481895..eab20b69 100644 --- a/admin/src/api/category/controllers/category.ts +++ b/admin/src/api/category/controllers/category.ts @@ -1,5 +1,3 @@ -'use strict' - /** * category controller */ diff --git a/admin/src/api/category/routes/category.ts b/admin/src/api/category/routes/category.ts index 20e5493e..47a3475d 100644 --- a/admin/src/api/category/routes/category.ts +++ b/admin/src/api/category/routes/category.ts @@ -1,5 +1,3 @@ -'use strict' - /** * category router */ diff --git a/admin/src/api/category/services/category.ts b/admin/src/api/category/services/category.ts index ab740d0a..6ec5ae07 100644 --- a/admin/src/api/category/services/category.ts +++ b/admin/src/api/category/services/category.ts @@ -1,5 +1,3 @@ -'use strict' - /** * category service */ diff --git a/admin/src/api/config/controllers/config.ts b/admin/src/api/config/controllers/config.ts index 9af51147..d36495c3 100644 --- a/admin/src/api/config/controllers/config.ts +++ b/admin/src/api/config/controllers/config.ts @@ -1,5 +1,3 @@ -'use strict' - /** * config controller */ diff --git a/admin/src/api/config/routes/config.ts b/admin/src/api/config/routes/config.ts index 9d999a63..d8437965 100644 --- a/admin/src/api/config/routes/config.ts +++ b/admin/src/api/config/routes/config.ts @@ -1,5 +1,3 @@ -'use strict' - /** * config router */ diff --git a/admin/src/api/config/services/config.ts b/admin/src/api/config/services/config.ts index 0e5ee892..6ae2ebbf 100644 --- a/admin/src/api/config/services/config.ts +++ b/admin/src/api/config/services/config.ts @@ -1,5 +1,3 @@ -'use strict' - /** * config service */ diff --git a/admin/src/api/glossary/controllers/glossary.ts b/admin/src/api/glossary/controllers/glossary.ts index 0219eb8d..dba892d0 100644 --- a/admin/src/api/glossary/controllers/glossary.ts +++ b/admin/src/api/glossary/controllers/glossary.ts @@ -1,5 +1,3 @@ -'use strict' - /** * glossary controller */ diff --git a/admin/src/api/glossary/routes/glossary.ts b/admin/src/api/glossary/routes/glossary.ts index 8c541b5e..57640bf2 100644 --- a/admin/src/api/glossary/routes/glossary.ts +++ b/admin/src/api/glossary/routes/glossary.ts @@ -1,5 +1,3 @@ -'use strict' - /** * glossary router */ diff --git a/admin/src/api/glossary/services/glossary.ts b/admin/src/api/glossary/services/glossary.ts index bcf76833..450e9bc5 100644 --- a/admin/src/api/glossary/services/glossary.ts +++ b/admin/src/api/glossary/services/glossary.ts @@ -1,5 +1,3 @@ -'use strict' - /** * glossary service */ diff --git a/admin/src/api/researches/controllers/researches.ts b/admin/src/api/researches/controllers/researches.ts index b09d5c05..bc5011a2 100644 --- a/admin/src/api/researches/controllers/researches.ts +++ b/admin/src/api/researches/controllers/researches.ts @@ -1,5 +1,3 @@ -'use strict' - /** * researches controller */ diff --git a/admin/src/api/researches/routes/researches.ts b/admin/src/api/researches/routes/researches.ts index 97522ee6..c5a9d19c 100644 --- a/admin/src/api/researches/routes/researches.ts +++ b/admin/src/api/researches/routes/researches.ts @@ -1,5 +1,3 @@ -'use strict' - /** * researches router */ diff --git a/admin/src/api/researches/services/researches.ts b/admin/src/api/researches/services/researches.ts index 0c958cb5..3b77b109 100644 --- a/admin/src/api/researches/services/researches.ts +++ b/admin/src/api/researches/services/researches.ts @@ -1,5 +1,3 @@ -'use strict' - /** * researches service */ diff --git a/admin/src/api/tag/controllers/tag.ts b/admin/src/api/tag/controllers/tag.ts index e2bb8b74..3c24c4ef 100644 --- a/admin/src/api/tag/controllers/tag.ts +++ b/admin/src/api/tag/controllers/tag.ts @@ -1,5 +1,3 @@ -'use strict' - /** * tag controller */ diff --git a/admin/src/api/tag/routes/tag.ts b/admin/src/api/tag/routes/tag.ts index 6cb98783..063b059b 100644 --- a/admin/src/api/tag/routes/tag.ts +++ b/admin/src/api/tag/routes/tag.ts @@ -1,5 +1,3 @@ -'use strict' - /** * tag router */ diff --git a/admin/src/api/tag/services/tag.ts b/admin/src/api/tag/services/tag.ts index 72b43c50..65d4a2d5 100644 --- a/admin/src/api/tag/services/tag.ts +++ b/admin/src/api/tag/services/tag.ts @@ -1,5 +1,3 @@ -'use strict' - /** * tag service */ diff --git a/admin/src/index.ts b/admin/src/index.ts index 185cc33f..b3ea3d1c 100644 --- a/admin/src/index.ts +++ b/admin/src/index.ts @@ -1,5 +1,3 @@ -'use strict' - module.exports = { /** * An asynchronous register function that runs before