
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
eslint-plugin-nada
Advanced tools
Enforces full path, folder and file names to match desired case style
// Errors for rule: kebabCase
myFileFolder/my-file-name.js // file path
// Ok for rule: kebabCase
my-file-folder/my-file-name.js // file path
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-nada
:
$ npm install eslint-plugin-nada --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-nada
globally.
Add nada
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"nada"
]
}
Then configure the rules you want to use under the rules section.
First param is the severity level as per eslint standards, where: 0 = off, 1 = warn, 2 = error
{
"rules": {
"nada/path-case": [2, {"case": "kebabCase"}]
}
}
Enforces full path, folder and file names to match desired case style.
kebabCase
, camelCase
and snakeCase
.Example:
{
"rules": {
"nada/path-case": [{"case": "kebabCase"}]
}
}
my-file.spec.js
or my-file.test.js
.Example:
{
"rules": {
"nada/path-case": [
{
"case": "kebabCase",
"ignoreParts": [".test", ".spec"]},
]
}
}
feat: your new feature summary
or fix: annoying bug that was killing me
.
Here are further commit examples: https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelinesFAQs
enforces folder and file names to match desired case style
We found that eslint-plugin-nada demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.