@ubiquity-os/eslint-plugin-no-empty-strings
Version:
ESLint rule to disallow empty string literals in runtime/value contexts for TypeScript and JSX/TSX.
93 lines (92 loc) • 2.49 kB
JSON
{
"type": "module",
"name": "@ubiquity-os/eslint-plugin-no-empty-strings",
"version": "1.0.3",
"description": "ESLint rule to disallow empty string literals in runtime/value contexts for TypeScript and JSX/TSX.",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Ubiquity DAO",
"license": "MIT",
"engines": {
"node": ">=20.10.0",
"bun": ">=1.0.0"
},
"scripts": {
"build": "bun run clean && bun build/esbuild-build.ts && bun run build:types",
"build:types": "tsc --project tsconfig.build.json",
"clean": "rimraf dist",
"format": "run-s format:lint format:prettier format:cspell",
"format:lint": "eslint --fix .",
"format:prettier": "prettier --write .",
"format:cspell": "cspell **/*",
"knip": "knip --config .github/knip.ts",
"knip-ci": "knip --no-exit-code --reporter json --config .github/knip.ts",
"prepare": "if [ \"$HUSKY\" != \"0\" ]; then husky; fi",
"prepublishOnly": "bun run build"
},
"keywords": [
"eslint",
"eslint-plugin",
"typescript",
"ubiquity-os",
"empty-string",
"lint-rule"
],
"dependencies": {
"@typescript-eslint/utils": "^8.38.0"
},
"peerDependencies": {
"@typescript-eslint/parser": "^8.38.0",
"eslint": "^9.32.0",
"typescript": "^5.8.2"
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@cspell/dict-node": "^4.0.3",
"@cspell/dict-software-terms": "^3.4.10",
"@cspell/dict-typescript": "^3.2.0",
"@eslint/js": "^9.32.0",
"@types/bun": "latest",
"@types/node": "^20.17.23",
"@typescript-eslint/rule-tester": "^8.38.0",
"@typescript-eslint/types": "^8.38.0",
"cspell": "^8.17.5",
"esbuild": "^0.20.2",
"eslint-plugin-check-file": "^3.3.0",
"eslint-plugin-sonarjs": "^3.0.4",
"husky": "^9.1.7",
"knip": "^5.45.0",
"lint-staged": "^15.4.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"typescript-eslint": "^8.38.0"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
],
"src/**.{ts,json}": [
"cspell"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md"
]
}