https://github.com/digitallinguistics/eslint-config
The Digital Linguistics (DLx) ESLint config
https://github.com/digitallinguistics/eslint-config
eslint
Last synced: about 1 month ago
JSON representation
The Digital Linguistics (DLx) ESLint config
- Host: GitHub
- URL: https://github.com/digitallinguistics/eslint-config
- Owner: digitallinguistics
- License: isc
- Created: 2022-05-23T23:22:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T15:29:48.000Z (about 1 year ago)
- Last Synced: 2024-04-14T07:18:25.556Z (about 1 year ago)
- Topics: eslint
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```cmd
npm i -D eslint @eslint/js @stylistic/eslint-plugin-js
```2. Install the shared DLx config:
```cmd
npm install -D @digitallinguistics/eslint-config
```3. Add an `eslint.config.js` file with the following content:
```js
import config from '@digitallinguistics/eslint-config'export default [...config]
```Alternatively, you can import just individual portions of the stylesheet:
```js
import problemsConfig from '@digitallinguistics/eslint-config/problems.js'export default [problemsConfig]
```## Releases
1. Increment the version number.
2. `npm publish`