Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
eslint-config-zillow-base
Advanced tools
Zillow's base ESLint config, following our code conventions
Zillow's base ESLint config (without React plugins), following our code conventions
To install with all necessary peerDependencies
, use install-peerdeps:
npx install-peerdeps --dev eslint-config-zillow-base
All exported configs should be added to your ESlint configuration file extends
.
For example, in a JSON .eslintrc
:
{
"extends": "zillow-base"
}
"extends": "zillow-base"
Our default export contains all of our ESLint rules, including ECMAScript 6+ and Prettier.
"extends": ["zillow-base", "zillow-base/jest]
Jest-specific rules and environment added to the default export.
"extends": ["zillow-base", "zillow-base/mocha]
Mocha-specific rules and environment added to the default export.
prettier
Editor Plugin IntegrationUnfortunately, super-useful editor plugins like prettier-atom
and prettier-vscode
do not load Prettier settings from ESLint config, which is where we load our Prettier options from. To workaround this, add a .prettierrc.js
or prettier.config.js
file to your repo root with the following content:
module.exports = require('prettier-config-zillow');
Consider adding test cases if you're making complicated rules changes, like anything involving regexes. Perhaps in a distant future, we could use literate programming to structure our README as test cases for our .eslintrc?
You can run tests (from the repo root) with npm test
.
You can make sure this module lints with itself using npm run lint
(from the repo root).
FAQs
Zillow's base ESLint config, following our code conventions
The npm package eslint-config-zillow-base receives a total of 231 weekly downloads. As such, eslint-config-zillow-base popularity was classified as not popular.
We found that eslint-config-zillow-base 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.