@alexlit/config-eslint 153.5.0 → 154.0.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/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v154.0.0
5
+
6
+ [compare changes](https://github.com/alex-lit/lint-kit/compare/@alexlit/config-eslint@153.5.0...v154.0.0)
7
+
4
8
  ## v153.5.0
5
9
 
6
10
  [compare changes](https://github.com/alex-lit/lint-kit/compare/@alexlit/config-eslint@153.4.0...v153.5.0)
package/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export { deMorgan } from './plugins/de-morgan.js';
1
2
  export { javascript } from './plugins/javascript.js';
2
3
  export { jsdoc } from './plugins/jsdoc.js';
3
4
  export { json } from './plugins/json.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "153.5.0",
3
+ "version": "154.0.0",
4
4
  "private": false,
5
5
  "description": "Sharable ESLint configuration",
6
6
  "keywords": [
@@ -49,6 +49,7 @@
49
49
  "@vitest/eslint-plugin": "^1.6.27",
50
50
  "eslint": "^10.8.1",
51
51
  "eslint-config-prettier": "^10.1.8",
52
+ "eslint-plugin-de-morgan": "^2.1.3",
52
53
  "eslint-plugin-jsdoc": "^64.2.1",
53
54
  "eslint-plugin-perfectionist": "^5.10.1",
54
55
  "eslint-plugin-pinia": "^0.4.2",
@@ -0,0 +1,5 @@
1
+ import plugin from 'eslint-plugin-de-morgan';
2
+ import { defineConfig } from 'eslint/config';
3
+
4
+ /** @see [eslint-plugin-de-morgan](https://github.com/azat-io/eslint-plugin-de-morgan) */
5
+ export const deMorgan = defineConfig([plugin.configs.recommended]);
@@ -1,5 +1,6 @@
1
1
  import { defineConfig } from 'eslint/config';
2
2
 
3
+ import { deMorgan } from '../plugins/de-morgan.js';
3
4
  import { javascript } from '../plugins/javascript.js';
4
5
  import { jsdoc } from '../plugins/jsdoc.js';
5
6
  import { json } from '../plugins/json.js';
@@ -19,6 +20,7 @@ export const defaultPreset = defineConfig([
19
20
  ...base, // must be first
20
21
 
21
22
  ...javascript,
23
+ ...deMorgan,
22
24
  ...jsdoc,
23
25
  ...json,
24
26
  ...perfectionist,