
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@jenssimon/eslint-config-base
Advanced tools
A shared ESLint configuration
yarn add --dev @jenssimon/eslint-config-base
npm install @jenssimon/eslint-config-base --save-dev
Afterwards install all the required peerDependencies.
This configuration depends on the ESLint AirBnB Extended. It provides a shared configuration to manage standard code style and best practices at a central location.
Features:
Note
This configuration is flat config only.
If you need
eslintrcsupport please use a version < 9 of this lint configuration.
For setup of eslint-airbnb-extended see the instructions first.
import path from 'node:path'
import { defineConfig } from 'eslint/config'
import js from '@eslint/js'
import { includeIgnoreFile } from '@eslint/compat'
import { configs, plugins } from 'eslint-config-airbnb-extended'
import { configs as eslintConfigs } from '@jenssimon/eslint-config-base'
const gitignorePath = path.resolve('.', '.gitignore')
// configuration for `eslint-config-airbnb-extended`
const jsConfig = [
// ...
]
export default defineConfig(
includeIgnoreFile(gitignorePath),
{
ignores: [
'.yarn/',
],
},
// configuration for `eslint-config-airbnb-extended`
jsConfig,
nodeConfig,
// ...
eslintConfigs.base,
)
MIT © 2019 Jens Simon
FAQs
A shareable ESLint configuration
The npm package @jenssimon/eslint-config-base receives a total of 643 weekly downloads. As such, @jenssimon/eslint-config-base popularity was classified as not popular.
We found that @jenssimon/eslint-config-base demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.