Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
eslint-config-hss
Advanced tools
Hearsay Social's base JavaScript style.
Install this package, and eslint:
npm install --save-dev eslint eslint-config-hss
Add this extends
value to the root level of your .eslintrc
:
{
"extends": "eslint-config-hss",
// ...
}
ESLint allows you to "extend" from multiple base configurations. If you use any of the below features, you may add these additional specialized base configurations. Each configuration contains only the rules associated with the given feature so you may combine them as your project demands.
{
"extends": [
"eslint-config-hss",
"eslint-config-hss/es6"
],
// ...
}
Note: This config requires that the package being linted have
eslint-plugin-react@^6.7.1
installed .
{
"extends": [
"eslint-config-hss",
"eslint-config-hss/es6",
"eslint-config-hss/react"
],
// ...
}
When linting Underscore templates with eslint-plugin-microtemplates, some rules don't make sense. To ignore those rules, extend from this config. Note: This config should not be applied to any js files, just html files.
{
"extends": [
"eslint-config-hss/microtemplates"
],
// ...
}
no-mixed-operators
and no-multi-spaces
from warnings to errors.max-statements
.FAQs
Default style for JavaScript at Hearsay Social
The npm package eslint-config-hss receives a total of 5 weekly downloads. As such, eslint-config-hss popularity was classified as not popular.
We found that eslint-config-hss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.