
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@bjerk/eslint-config
Advanced tools
These are Bjerk's eslint config, used on most of our projects.
This is derived work from runeh and Indiv AS: https://github.com/runeh/typical-fetch/blob/main/.eslintrc.json
We'd actually love more users of our config, so if you have ideas on improvements – please file an issue or pull request!
yarn add @bjerk/eslint-config
If you want help installing the bunch of peerDependencies for this package, consider using this:
npx check-peer-dependencies
Or, if you're using pnpm, you can make it install peer dependencies automatically:
pnpm config set auto-install-peers true --location project
To make all this config work, you only need to add this to package.json
:
{
"eslintConfig": {
"extends": "@bjerk/eslint-config"
}
}
Tip: We often use this along with @cobraz/prettier
, a shared Prettier config.
We removed jest
-related rules in v3, essentially making jest
an optional
dependency. In our experience, we don't necessarily want to use Jest for every
project anymore. Versions below v3 require jest
.
Here are the steps to get it working [again]:
Run this in your terminal:
yarn add -D eslint-plugin-jest
{
"eslintConfig": {
"extends": ["@bjerk/eslint-config", "plugin:jest/recommended"],
"plugins": ["jest"]
}
}
FAQs
A reusable Eslint config built by and maintained by Bjerk.
The npm package @bjerk/eslint-config receives a total of 207 weekly downloads. As such, @bjerk/eslint-config popularity was classified as not popular.
We found that @bjerk/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.