🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more
Socket
Book a DemoInstallSign in
Socket

@jenssimon/eslint-config-base

Package Overview
Dependencies
Maintainers
1
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jenssimon/eslint-config-base

A shareable ESLint configuration

latest
Source
npmnpm
Version
10.0.2
Version published
Weekly downloads
664
-27.35%
Maintainers
1
Weekly downloads
 
Created
Source

NPM version Downloads star this repo fork this repo Build Status

eslint-config-base

A shared ESLint configuration

Installation

yarn add --dev @jenssimon/eslint-config-base
npm install @jenssimon/eslint-config-base --save-dev

Afterwards install all the required peerDependencies.

General

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 eslintrc support please use a version < 9 of this lint configuration.

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,
)

License

MIT © 2019 Jens Simon

Keywords

eslint

FAQs

Package last updated on 03 Nov 2025

Did you know?

Socket

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.

Install

Related posts