@robinblomberg/eslint-config-robinblomberg 0.32.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/index.js +1543 -1509
- package/package.json +29 -22
- package/.cspell.json +0 -19
- package/.eslintrc.json +0 -3
- package/.ncurc.json +0 -3
- package/.vscode/settings.json +0 -21
- package/docs/images/mycmb9lgf1joqvp6r9jq.png +0 -0
- package/pnpm-workspace.yaml +0 -2
package/README.md
CHANGED
|
@@ -8,14 +8,18 @@ npm install -D @robinblomberg/eslint-config-robinblomberg
|
|
|
8
8
|
|
|
9
9
|
## Configuration
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Requires ESLint 9.x and Node's `require(esm)`/ESM support.
|
|
12
|
+
|
|
13
|
+
Create a file called **eslint.config.js** at the project root:
|
|
12
14
|
|
|
13
15
|
```js
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
import robinblomberg from '@robinblomberg/eslint-config-robinblomberg';
|
|
17
|
+
|
|
18
|
+
export default [...robinblomberg];
|
|
17
19
|
```
|
|
18
20
|
|
|
21
|
+
If your project isn't set up for ESM (no `"type": "module"` in package.json), name the file **eslint.config.mjs** instead.
|
|
22
|
+
|
|
19
23
|
## NPM scripts
|
|
20
24
|
|
|
21
25
|
Add the following scripts to your package.json:
|