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.
@m6web/eslint-plugin-vue
Advanced tools
Plugin for eslint and prettier used in m6web projects
The purpose of this package is simple, simplify the configuration of eslint and prettier in our projects.
It provides:
With that come some little changes from the default config of eslint-config-airbnb and prettier that you can find in index.js file and [here].
npm install --dev @m6web/eslint-plugin
or
yarn add --dev @m6web/eslint-plugin
Then you need to add the plugin in the .eslintrc
file of your project. For that create a .eslintrc
and add the following lines:
{
"extends": "plugin:@m6web/eslint-plugin-vue/default",
}
And that's all.
If you want to customize some rules, follow the eslint documentation.
If you want, you can add the jest support with the following lines:
{
"env": {
"browser": true,
"jasmine": true
}
}
Lint your code:
yarn eslint src/
Rewrite your code, the right way :smiling_imp::
yarn prettier-eslint -- --write 'src/**/*.js'
FAQs
Plugin for eslint and prettier used in m6web projects
The npm package @m6web/eslint-plugin-vue receives a total of 2 weekly downloads. As such, @m6web/eslint-plugin-vue popularity was classified as not popular.
We found that @m6web/eslint-plugin-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
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.