@jabworks/eslint-plugin 1.0.4 → 1.0.5
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/CHANGELOG.md +6 -0
- package/README.md +6 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -29,15 +29,15 @@ Add the plugin to your ESLint configuration. Example using the flat config forma
|
|
|
29
29
|
|
|
30
30
|
```js
|
|
31
31
|
// eslint.config.js or eslint.config.mjs
|
|
32
|
-
import { plugin as
|
|
32
|
+
import { plugin as jabworksPlugin } from '@jabworks/eslint-plugin';
|
|
33
33
|
|
|
34
34
|
export default [
|
|
35
|
-
...
|
|
35
|
+
...jabworksPlugin.configs.base,
|
|
36
36
|
// or for React/Next.js/TypeScript/Vitest:
|
|
37
|
-
// ...
|
|
38
|
-
// ...
|
|
39
|
-
// ...
|
|
40
|
-
// ...
|
|
37
|
+
// ...jabworksPlugin.configs.react,
|
|
38
|
+
// ...jabworksPlugin.configs.next,
|
|
39
|
+
// ...jabworksPlugin.configs.typescript,
|
|
40
|
+
// ...jabworksPlugin.configs.vitest,
|
|
41
41
|
];
|
|
42
42
|
```
|
|
43
43
|
|
package/package.json
CHANGED