0.5.2 • Published 25 days ago
@digitallinguistics/eslint-config v0.5.2
eslint-config
ESLint config for Digital Linguistics (DLx) projects
How to use
- Install peer dependencies:
npm i -D eslint @eslint/js @stylistic/eslint-plugin-js
. - Install the shared DLx config:
npm install -D @digitallinguistics/eslint-config
. - 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
- Increment the version number.
npm publish