@dubium/eslint-config 1.0.6 → 1.0.8
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/config/base.js +1 -9
- package/package.json +1 -2
- package/config/index.js +0 -4
package/config/base.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import globals from "globals";
|
|
2
|
-
|
|
3
1
|
export const base = {
|
|
4
2
|
name: "@dubium/eslint-config/base",
|
|
5
3
|
|
|
@@ -7,12 +5,6 @@ export const base = {
|
|
|
7
5
|
|
|
8
6
|
languageOptions: {
|
|
9
7
|
ecmaVersion: "latest",
|
|
10
|
-
globals: {
|
|
11
|
-
...globals.browser,
|
|
12
|
-
...globals.commonjs,
|
|
13
|
-
...globals.node,
|
|
14
|
-
...globals.jest,
|
|
15
|
-
},
|
|
16
8
|
},
|
|
17
9
|
|
|
18
10
|
rules: {
|
|
@@ -406,7 +398,7 @@ export const base = {
|
|
|
406
398
|
* Requires atomic updates of asynchronous variables
|
|
407
399
|
* Ссылка: https://eslint.org/docs/latest/rules/require-atomic-updates
|
|
408
400
|
*/
|
|
409
|
-
"require-atomic-updates": error,
|
|
401
|
+
"require-atomic-updates": "error",
|
|
410
402
|
|
|
411
403
|
/**
|
|
412
404
|
* Требует использования метода isNaN() для проверки на NaN
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dubium/eslint-config",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.8",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
|
-
".": "./config/index.js",
|
|
8
7
|
"./base": "./config/base.js",
|
|
9
8
|
"./react": "./config/react.js",
|
|
10
9
|
"./jsx-a11y": "./config/jsx-a11y.js",
|
package/config/index.js
DELETED