
Research
Security News
The Landscape of Malicious Open Source Packages: 2025 Mid‑Year Threat Report
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
eslint-plugin-async-await
Advanced tools
npm install eslint-plugin-async-await --save
.eslintrc
(Recommended).eslintrc
{
"plugins": ["async-await"],
"rules": {
"async-await/space-after-async": 2,
"async-await/space-after-await": 2
}
}
async-await/space-after-async
: disallow async()=>{}
, fixing to async ()=>{}
.async-await/space-after-await
: disallow await(foo)
, fixing to await (foo)
.The
--fix
option on the command line automatically fixes problems reported by this rule.
Requirement global
git clone https://github.com/59naga/eslint-plugin-async-await
cd eslint-plugin-async-await
npm install
npm test
FAQs
enforces spacing after async/await plugin
The npm package eslint-plugin-async-await receives a total of 3,070 weekly downloads. As such, eslint-plugin-async-await popularity was classified as popular.
We found that eslint-plugin-async-await 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
A look at the top trends in how threat actors are weaponizing open source packages to deliver malware and persist across the software supply chain.
Security News
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.