
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@bam.tech/eslint-config
Advanced tools
This project is an ESLint config that gathers all the rules, plugins and parsers that should be used in any new BAM project.
This project is an ESLint config that gathers all the rules, plugins and parsers that should be used in any new BAM project.
In your app, run yarn add --dev @bam.tech/eslint-config eslint-plugin-react-native eslint-plugin-react @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint typescript
.
In your .eslintrc
config file, extend the exported configuration:
// .eslintrc
{
"extends": "@bam.tech/eslint-config"
}
You can still customize your ESLint config by adding configurations, plugins and rules to your .eslintrc
config file.
If you find a useful rule that you feel every project at BAM should use, feel free to open a PR.
Use the documentation on how to create a shareable configuration here.
Here is a small summary:
Adding new rules is quite simple, you just have to modify index.js
and add your rule to the rules
object:
module.exports = {
...
rules: {
...
"my-new-rule": "error",
},
...
}
Extending new shareable configurations is quite simple, you just have to modify index.js
and add your shareable configuration to the extends
array (the order of configurations is important):
module.exports = {
...
extends: [
...
"@some-scope/eslint-config",
],
...
}
The package containing your shareable configuration should be added as a dependency by running yarn add your-package
.
Adding a plugin is quite simple, you just have to modify index.js
and add your plugin to the plugins
array:
module.exports = {
...
plugins: [
...
"your-plugin",
],
...
}
The package containing your plugin should be added as a peer dependency by running yarn add --peer your-plugin
.
FAQs
This project is an ESLint config that gathers all the rules, plugins and parsers that should be used in any new BAM project.
We found that @bam.tech/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.