eslint-config-logdna
v8.0.1
Published
LogDNA's preferred eslint config to be used across all projects
Downloads
1,935
Maintainers
Readme
eslint-config-logdna
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@latestUsage
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):
This project follows the all-contributors specification. Contributions of any kind welcome!
