Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
eslint-plugin-nextcloud
Advanced tools
Nextcloud lint plugin for ESLint
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-nextcloud
:
$ npm install eslint-plugin-nextcloud --save-dev
Add plugin:nextcloud/recommended
to the extends
section of your .eslintrc
configuration file in order to use all recommended options (load estlint-plugin-nextcloud, add Nextcloud environment and add recommended rules):
{
"extends": [
"plugin:nextcloud/recommended"
]
}
Alternatively, you can activate only those parts that you want to use. In this case, you have to add nextcloud
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"nextcloud"
]
}
Add the Nextcloud environment if you want to use global variables defined by Nextcloud server.
{
"env": {
"nextcloud/nextcloud": true,
}
}
Configure the rules you want to use under the rules section.
{
"rules": {
"nextcloud/no-deprecations": "warn",
"nextcloud/no-removed-apis": "error",
}
}
nextcloud/recommended
: Recommended configuration that loads the Nextcloud ESlint plugin, adds the Nextcloud environment and configures all recommended Nextcloud rules.nextcloud/nextcloud
: Manifests global variables defined by Nextcloud servernextcloud/no-deprecations
: Detects properties and functions that were deprecated in Nextcloud servernextcloud/no-removed-apis
: Detects previously available APIs that were removed from Nextcloud serverFAQs
Nextcloud lint plugin for ESLint
The npm package eslint-plugin-nextcloud receives a total of 0 weekly downloads. As such, eslint-plugin-nextcloud popularity was classified as not popular.
We found that eslint-plugin-nextcloud 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.