eslint-config-logdna

March 13, 2026 ยท View on GitHub

All Contributors

LogDNA's preferred ESLint configuration for Node.js projects. Compatible with ESLint 9+ and 10+.

Installation

Requires eslint also

npm install --save-dev eslint-config-logdna@latest eslint@latest

Usage

Create a file named eslint.config.js in your project root:

// eslint.config.js
const {defineConfig} = require('eslint/config')
const logdna = require('eslint-config-logdna')

module.exports = defineConfig([
  {
    files: ['**/*.js']
  , extends: [logdna]
  }
, {
    // Additional configuration for this project
    ignores: ['example/**', 'test/fixtures/**']
  }
])

Migration Guide

See MIGRATION.md for detailed migration instructions from the older .eslintrc.json format to the new flat config format.

Examples

See EXAMPLES.md for various usage examples including Node.js, ES6+, and ESM projects.

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Eric Satterwhite

๐Ÿ“– ๐Ÿ’ป โš ๏ธ ๐Ÿšง

Darin Spivey

๐Ÿ“– ๐Ÿ’ป โš ๏ธ

Mike Del Tito

๐Ÿ“– ๐Ÿ’ป โš ๏ธ ๐Ÿšง

This project follows the all-contributors specification. Contributions of any kind welcome!