Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@bjerk/eslint-config
Advanced tools
A reusable Eslint config built by and maintained by Bjerk.
yarn add @bjerk/eslint-config eslint
To use this config, you'll need to add an .eslintrc.js
file to your project.
This file should export an object with the following structure:
module.exports = {
extends: '@bjerk/eslint-config',
};
To make the configuration work with Typescript, you'll need to add the
parserOptions
as follows:
module.exports = {
extends: '@bjerk/eslint-config',
parserOptions: {
project: true,
tsconfigRootDir: __dirname,
},
};
You can also use parts of this configuration if you want to. For example, if you only want to use our base config, you can do this:
{
"extends": "@bjerk/eslint-config/base"
}
These are the available configs:
@bjerk/eslint-config
@bjerk/eslint-config/base
@bjerk/eslint-config/import
@bjerk/eslint-config/typescript
@bjerk/eslint-config/esm
Note: The main @bjerk/eslint-config
config includes all the others, but
also prettier
(and eslint-config-prettier
).
Tip: We often use this along with @simenandre/prettier
, a shared Prettier
config. Typically, we recommend letting prettier
handle all formatting, and
eslint
handle all linting.
We want to have a consistent code style, and we want to promote readable and maintainable code. We also want to avoid bugs and errors, and we want to have a good developer experience.
This is our take on making that happen with Eslint!
In comparison to many other eslint configurations, we welcome contributions to this config. If you have any ideas on how to improve it, please open an issue or a pull request!
This isn't supposed to be a Bjerk only config, but rather a config that everyone can use. We want to make it as good as possible, and we want to make it as useful as possible. If you agree with our motivation, we'd love to have you on board!
This config is inspired by:
Thanks are in order! 🙏
FAQs
A reusable Eslint config built by and maintained by Bjerk.
The npm package @bjerk/eslint-config receives a total of 172 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.