@aarongoldenthal/eslint-config-standard 23.1.0 → 23.1.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.
- package/README.md +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,14 +6,16 @@ Custom standard ESLint configuration for all projects. Includes configurations
|
|
|
6
6
|
for `eslint`, `@eslint-community/eslint-plugin-eslint-comments` (formerly
|
|
7
7
|
`eslint-plugin-eslint-comments`), `eslint-plugin-jest`, `eslint-plugin-jsdoc`,
|
|
8
8
|
`eslint-plugin-n` (formerly `eslint-plugin-node`), `eslint-plugin-playwright`,
|
|
9
|
-
`eslint-plugin-promise`, `eslint-plugin-sonarjs`,
|
|
10
|
-
This package defines all required configurations as
|
|
11
|
-
installed and do not have to be defined in each
|
|
9
|
+
`eslint-plugin-promise`, `eslint-plugin-sonarjs`, `eslint-plugin-unicorn`, and
|
|
10
|
+
`eslint-plugin-vitest`. This package defines all required configurations as
|
|
11
|
+
`peerDependencies` so they are installed and do not have to be defined in each
|
|
12
|
+
project.
|
|
12
13
|
|
|
13
14
|
Per recommended best practices, the following configurations include `overrides`
|
|
14
15
|
so they are only applicable to a subset of files:
|
|
15
16
|
|
|
16
|
-
- `jest-config`: applicable to files matching
|
|
17
|
+
- `jest-config`, `vitest-config`: applicable to files matching
|
|
18
|
+
`['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)']`,
|
|
17
19
|
which is the [default filter for Jest test files](https://jestjs.io/docs/configuration#testmatch-arraystring).
|
|
18
20
|
- `playwright-config`: applicable to files matching `['**/*.pwtest.[jt]s']`,
|
|
19
21
|
which differentiates them from Jest test files.
|