
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@opengovsg/eslint-config-opengovsg
Advanced tools
This package provides Open Government Product's base JS .eslintrc as an extensible shared config.
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint
and eslint-config-standard
.
Install the correct versions of each package, which are listed by the command:
npm info "@opengovsg/eslint-config-opengovsg@latest" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev @opengovsg/eslint-config-opengovsg
If using npm < 5, Linux/OSX users can run
(
export PKG=@opengovsg/eslint-config-opengovsg;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
If using npm < 5, Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.
npm install -g install-peerdeps
install-peerdeps --dev @opengovsg/eslint-config-opengovsg
Add "extends": "@opengovsg/eslint-config-opengovsg"
to your .eslintrc.
Instructions derived from eslint-config-airbnb-base.
FAQs
eslint configs for opengovsg
The npm package @opengovsg/eslint-config-opengovsg receives a total of 258 weekly downloads. As such, @opengovsg/eslint-config-opengovsg popularity was classified as not popular.
We found that @opengovsg/eslint-config-opengovsg 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.