
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
eslint-config-warp
Advanced tools
npm install --save-dev eslint eslint-config-warp
Create a .eslintrc.json file in the project root containing the following:
Default usage
{
"extends": ["warp"]
}
Always configure your environment. We recommend doing so by using the appropriate preset:
This package comes with some additional presets to include in your eslint
configuration. To include any of them, just add them to the extends Array.
Note that order is important, because each preset overrides the previous. To
allow you to configure a working load order, the table below provides hints.
| Preset | Description | Load Order | Dependencies |
|---|---|---|---|
warp | Base JavaScript (ES5) linting rules | First | |
warp/node | Linting rules for Node.JS | Soon after warp | eslint-plugin-node |
warp/es6 | Linting rules for ES6 language features | Soon after warp | |
warp/jsx | Linting rules for React JSX | Soon after warp | eslint-plugin-react eslint-plugin-react-hooks |
warp/module | Linting rules for modular JavaScript | Near the end | eslint-plugin-import |
warp/typescript | Linting rules for TypeScript files; implies warp/module | Near the end | eslint-plugin-import @typescript-eslint/eslint-plugin @typescript-eslint/parser |
To set up your ESLint for linting TypeScript modules for Node.JS:
{
"extends": ["warp", "warp/node", "warp/typescript"],
"parserOptions": {
"project": "YOUR.tsconfig.json"
}
}
FAQs
WeAreReasonablePeople linting rules
The npm package eslint-config-warp receives a total of 86 weekly downloads. As such, eslint-config-warp popularity was classified as not popular.
We found that eslint-config-warp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.