@dvukovic/style-guide 0.3.95 → 0.3.97

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvukovic/style-guide",
3
- "version": "0.3.95",
3
+ "version": "0.3.97",
4
4
  "description": "My own style guide",
5
5
  "repository": {
6
6
  "type": "git",
@@ -5,7 +5,6 @@ const plugin = {
5
5
  "@eslint-community/eslint-comments": eslintComments,
6
6
  },
7
7
  rules: {
8
- "@eslint-community/eslint-comments/disable-enable-pair": "error",
9
8
  "@eslint-community/eslint-comments/no-aggregating-enable": "error",
10
9
  "@eslint-community/eslint-comments/no-duplicate-disable": "error",
11
10
  "@eslint-community/eslint-comments/no-unlimited-disable": "error",
@@ -18,7 +18,12 @@ const plugin = {
18
18
  "import-x/no-duplicates": "error",
19
19
  "import-x/no-dynamic-require": "error",
20
20
  "import-x/no-empty-named-blocks": "error",
21
- "import-x/no-extraneous-dependencies": "error",
21
+ "import-x/no-extraneous-dependencies": [
22
+ "error",
23
+ {
24
+ whitelist: ["typescript-eslint"],
25
+ },
26
+ ],
22
27
  "import-x/no-mutable-exports": "error",
23
28
  "import-x/no-named-as-default": "error",
24
29
  "import-x/no-named-as-default-member": "error",
@@ -12,7 +12,6 @@ const plugin = {
12
12
  "n/hashbang": "error",
13
13
  "n/no-deprecated-api": "error",
14
14
  "n/no-exports-assign": "error",
15
- "n/no-extraneous-import": "error",
16
15
  "n/no-extraneous-require": "error",
17
16
  "n/no-missing-require": "error",
18
17
  "n/no-new-require": "error",
@@ -128,27 +128,29 @@ const plugin = {
128
128
  "unicorn/prevent-abbreviations": [
129
129
  "error",
130
130
  {
131
- allowList: {
132
- Arg: true,
133
- Args: true,
134
- Param: true,
135
- Params: true,
136
- Prev: true,
137
- Prop: true,
138
- Props: true,
139
- Ref: true,
140
- Refs: true,
141
- arg: true,
142
- args: true,
143
- env: true,
144
- param: true,
145
- params: true,
146
- prev: true,
147
- prop: true,
148
- props: true,
149
- ref: true,
150
- refs: true,
151
- },
131
+ ignore: [
132
+ "utils",
133
+ "Utils",
134
+ "Arg",
135
+ "Args",
136
+ "Param",
137
+ "Params",
138
+ "Prev",
139
+ "Prop",
140
+ "Props",
141
+ "Ref",
142
+ "Refs",
143
+ "arg",
144
+ "args",
145
+ "env",
146
+ "param",
147
+ "params",
148
+ "prev",
149
+ "prop",
150
+ "props",
151
+ "ref",
152
+ "refs",
153
+ ],
152
154
  },
153
155
  ],
154
156
  "unicorn/relative-url-style": ["error", "always"],