
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
eslint-plugin-wix-editor
Advanced tools
Wix's editor group's custom ESLint rules
Install ESLint and eslint-plugin-wix-editor into your project.
$ npm install --save-dev eslint eslint-plugin-wix-editor
Add plugins
section and specify eslint-plugin-wix-editor as a plugin into your .eslintrc
:
{
"plugins": ["wix-editor"]
}
Finally, enable all of the rules that you would like to use:
{
"rules": {
"wix-editor/no-instanceof-array": 2,
"wix-editor/no-not-not": 2,
"wix-editor/no-unneeded-match": 2,
"wix-editor/prefer-filter": 2,
"wix-editor/prefer-ternary": 2,
"wix-editor/return-boolean": 2,
"wix-editor/simplify-boolean-expression": 2
}
}
!!
str.match(rgx)
as a boolean value.forEach
statements that only include an if
statement.if-else
statements that only include assignment to the same variable.if-else
for returning boolean values.Contributions in the form of issues and pull requests are welcome.
Before creating a pull request, please make sure that:
npm test
.To begin:
git clone git@github.com:wix/eslint-plugin-wix-editor.git
cd eslint-plugin-wix-editor
npm i
npm test
eslint-plugin-wix-editor is licensed under the MIT License.
FAQs
Wix's editor group's custom ESLint rules
The npm package eslint-plugin-wix-editor receives a total of 1,360 weekly downloads. As such, eslint-plugin-wix-editor popularity was classified as popular.
We found that eslint-plugin-wix-editor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.