@faergeek/eslint-config 8.0.0 → 8.0.1

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.
Files changed (2) hide show
  1. package/README.md +4 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  # @faergeek/eslint-config
2
2
 
3
- [![npm](https://nodei.co/npm/@faergeek/eslint-config.svg?style=compact)](https://www.npmjs.com/package/@faergeek/eslint-config)
4
-
5
3
  ## Install
6
4
 
7
5
  ```sh
@@ -11,14 +9,11 @@ npm i -D @faergeek/eslint-config
11
9
  ## Use
12
10
 
13
11
  ```javascript
14
- import { base, node, react, typescript, vitest } from '@faergeek/eslint-config';
15
- import { defineConfig } from 'eslint/config';
12
+ import { base, react, typescript, vitest } from '@faergeek/eslint-config';
13
+ import { defineConfig, globalIgnores } from 'eslint/config';
16
14
 
17
15
  export default defineConfig([
18
- base,
19
- react,
20
- typescript,
21
- { files: ['*.js'], extends: [node] },
22
- { files: ['**/*.spec.*'], extends: [vitest] },
16
+ globalIgnores(['dist']),
17
+ { extends: [base, react, typescript, vitest] },
23
18
  ]);
24
19
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@faergeek/eslint-config",
4
- "version": "8.0.0",
4
+ "version": "8.0.1",
5
5
  "exports": "./index.js",
6
6
  "files": [
7
7
  "index.js"