@dartess/eslint-plugin 0.0.9 → 0.1.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
@@ -2,11 +2,15 @@
2
2
 
3
3
  [//]: # (https://keepachangelog.com/en/1.1.0/)
4
4
 
5
+ ## [0.1.0] - 2026-01-02
6
+
7
+ - add `eslint-plugin-de-morgan` to `recommended` config
8
+
5
9
  ## [0.0.9] - 2026-01-02
6
10
 
7
11
  - remove overriding `@typescript-eslint/return-await` rule
8
12
  - cleanup disabled rules
9
- - add `prefer-object-has-own` to `recomended`: previously was disabled because of old browsers support
13
+ - add `prefer-object-has-own` to `recommended`: previously was disabled because of old browsers support
10
14
  - apply `no-throw-literal` only for `js`-files (for `ts` files already enabled `@typescript-eslint/only-throw-error`)
11
15
 
12
16
  ## [0.0.8] - 2025-12-28
package/README.md CHANGED
@@ -7,6 +7,7 @@ Also extends
7
7
  * `typescript-eslint` — `strictTypeChecked` & `stylisticTypeChecked`
8
8
  * `eslint-plugin-import-x` — `recommended` & `typescript`
9
9
  * `@eslint-community/eslint-plugin-eslint-comments` — `recommended`
10
+ * `eslint-plugin-de-morgan` — `recommended`
10
11
 
11
12
  Also can extends (if it is applicable)
12
13
  * `eslint-plugin-react` — `recommended` & `jsx-runtime`
@@ -32,7 +33,7 @@ All of it pinched with extra configs, setups and extra rules. Just take it and u
32
33
  You'll first need to install [ESLint](https://eslint.org/) and peer deps:
33
34
 
34
35
  ```sh
35
- npm i -D eslint eslint-plugin-import-x eslint-import-resolver-typescript @eslint-community/eslint-plugin-eslint-comments typescript-eslint eslint-plugin-unicorn eslint-plugin-decorator-position
36
+ npm i -D eslint eslint-plugin-import-x eslint-import-resolver-typescript @eslint-community/eslint-plugin-eslint-comments typescript-eslint eslint-plugin-unicorn eslint-plugin-decorator-position eslint-plugin-de-morgan
36
37
  ```
37
38
 
38
39
  Next, also install the packages that suit your needs.
@@ -127,8 +128,8 @@ Use `eslint-plugin-oxlint` for disabling unnecessary rules.
127
128
  #### Prettier (Old School)
128
129
 
129
130
  * Use `eslint-config-prettier` for disabling unnecessary rules.
130
- * Use `eslint-plugin-prettier` for running `prettier` as eslint rule.
131
- * Use `eslint-plugin-format` with rule `format/prettier` for running `prettier` as eslint rule (you probably will want to add `eslint-config-prettier` for disabling unnecessary rules).
131
+ * Or use `eslint-plugin-prettier` for running `prettier` as eslint rule.
132
+ * Or use `eslint-plugin-format` with rule `format/prettier` for running `prettier` as eslint rule (you probably will want to add `eslint-config-prettier` for disabling unnecessary rules).
132
133
 
133
134
  ## Supported Rules
134
135
 
@@ -9,6 +9,7 @@ import pluginJs from '@eslint/js';
9
9
  import eslintCommentsPlugin from '@eslint-community/eslint-plugin-eslint-comments/configs';
10
10
  // @ts-ignore: https://github.com/NullVoxPopuli/eslint-plugin-decorator-position/issues/778
11
11
  import eslintPluginDecoratorPosition from 'eslint-plugin-decorator-position';
12
+ import eslintPluginDeMorgan from 'eslint-plugin-de-morgan';
12
13
  import dartessPlugin from "../index.js";
13
14
  import vendorRulesBestPractices from "./vendor-rules/best-practices.js";
14
15
  import vendorRulesErrors from "./vendor-rules/errors.js";
@@ -44,6 +45,7 @@ const config = [
44
45
  eslintPluginImportX.flatConfigs.recommended,
45
46
  eslintPluginImportX.flatConfigs.typescript,
46
47
  eslintCommentsPlugin.recommended,
48
+ eslintPluginDeMorgan.configs.recommended,
47
49
  {
48
50
  name: '@dartess/recommended',
49
51
  plugins: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dartess/eslint-plugin",
3
3
  "type": "module",
4
- "version": "0.0.9",
4
+ "version": "0.1.0",
5
5
  "description": "A set of rules and configs for various TypeScript projects",
6
6
  "keywords": [
7
7
  "eslint",
@@ -50,6 +50,7 @@
50
50
  "@next/eslint-plugin-next": "^16.0.0",
51
51
  "eslint": "^9.0.0",
52
52
  "eslint-import-resolver-typescript": "^4.0.0",
53
+ "eslint-plugin-de-morgan": "^2.0.0",
53
54
  "eslint-plugin-decorator-position": "^6.0.0",
54
55
  "eslint-plugin-import-x": "^4.1.0",
55
56
  "eslint-plugin-jsx-a11y": "^6.10.0",