Skip to content

Commit b0884fe

Browse files
fix: integrate @ubiquity-os/eslint-plugin-no-empty-strings into eslint configuration
1 parent 1040fa9 commit b0884fe

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

bun.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// @ts-check
22
import eslint from "@eslint/js";
3+
import noEmptyStrings from "@ubiquity-os/eslint-plugin-no-empty-strings";
34
import sonarjs from "eslint-plugin-sonarjs";
45
import checkFile from "eslint-plugin-check-file";
56
import { defineConfig } from "eslint/config";
@@ -14,6 +15,7 @@ export default defineConfig(
1415
plugins: {
1516
"@typescript-eslint": tsEslint.plugin,
1617
"check-file": checkFile,
18+
"@ubiquity-os": noEmptyStrings,
1719
},
1820
languageOptions: {
1921
parser: tsEslint.parser,
@@ -26,6 +28,7 @@ export default defineConfig(
2628
},
2729
},
2830
rules: {
31+
"@ubiquity-os/no-empty-strings": "warn",
2932
"check-file/filename-naming-convention": [
3033
"error",
3134
{

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"@swc/jest": "^0.2.39",
5555
"@types/jest": "^30.0.0",
5656
"@types/node": "24.10.1",
57+
"@ubiquity-os/eslint-plugin-no-empty-strings": "^1.0.3",
5758
"cross-env": "^10.1.0",
5859
"cspell": "9.3.2",
5960
"eslint": "9.39.1",

0 commit comments

Comments
 (0)