Skip to content

digitallinguistics/eslint-config

Repository files navigation

eslint-config

ESLint config for Digital Linguistics (DLx) projects

Dependencies

Rules have been updated up to the following versions (even though the peer dependencies listed are actually higher than these):

  • ESLint v9.1.0
  • Stylistic v1.7.2

How to use

  1. Install peer dependencies: npm i -D eslint @eslint/js @stylistic/eslint-plugin-js.
  2. Install the shared DLx config: npm install -D @digitallinguistics/eslint-config.
  3. Add an eslint.config.js file with the following content:
import config from '@digitallinguistics/eslint-config'

export default [...config]

Alternatively, you can import just individual portions of the stylesheet:

import problemsConfig from '@digitallinguistics/eslint-config/problems.js'

export default [problemsConfig]

Releases

  1. Increment the version number.
  2. npm publish

About

The Digital Linguistics (DLx) ESLint config

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published