Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
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.
{
"rules": {
"nada/path-case": [{"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
The npm package eslint-plugin-nada receives a total of 67 weekly downloads. As such, eslint-plugin-nada popularity was classified as not popular.
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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.