eslint-config-logdna
March 13, 2026 ยท View on GitHub
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!