@perfective/eslint-config 0.31.0 → 0.31.2

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.
@@ -124,7 +124,7 @@ export const supportedRules = {
124
124
  '@typescript-eslint/no-unnecessary-condition': ['error', {
125
125
  allowConstantLoopConditions: false,
126
126
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
127
- checkTypePredicates: true
127
+ checkTypePredicates: false
128
128
  }],
129
129
  '@typescript-eslint/no-unnecessary-parameter-property-assignment': 'error',
130
130
  '@typescript-eslint/no-unnecessary-qualifier': 'warn',
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@perfective/eslint-config/cypress",
3
+ "type": "module",
4
+ "module": "../config/cypress/index.js",
5
+ "types": "../config/cypress/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "../config/cypress/index.d.ts",
9
+ "import": "../config/cypress/index.js"
10
+ }
11
+ },
12
+ "sideEffects": false
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@perfective/eslint-config/import",
3
+ "type": "module",
4
+ "module": "../config/import/index.js",
5
+ "types": "../config/import/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "../config/import/index.d.ts",
9
+ "import": "../config/import/index.js"
10
+ }
11
+ },
12
+ "sideEffects": false
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@perfective/eslint-config/jest",
3
+ "type": "module",
4
+ "module": "../config/jest/index.js",
5
+ "types": "../config/jest/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "../config/jest/index.d.ts",
9
+ "import": "../config/jest/index.js"
10
+ }
11
+ },
12
+ "sideEffects": false
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@perfective/eslint-config/jest-dom",
3
+ "type": "module",
4
+ "module": "../config/jest-dom/index.js",
5
+ "types": "../config/jest-dom/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "../config/jest-dom/index.d.ts",
9
+ "import": "../config/jest-dom/index.js"
10
+ }
11
+ },
12
+ "sideEffects": false
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perfective/eslint-config",
3
- "version": "0.31.0",
3
+ "version": "0.31.2",
4
4
  "description": "ESLint shareable rules configuration",
5
5
  "keywords": ["code quality", "code standard", "code style", "eslint", "eslint config", "lint", "perfective", "tslint", "tslint config", "typescript"],
6
6
  "author": "Andrey Mikheychik <a.mikheychik@gmail.com>",
@@ -53,17 +53,16 @@
53
53
  "optional": true
54
54
  }
55
55
  },
56
- "main": "./index.cjs",
57
56
  "module": "./index.js",
58
57
  "types": "./index.d.ts",
59
58
  "directories": {
60
59
  "lib": "./"
61
60
  },
62
- "files": ["**/*.js", "**/*.d.ts"],
61
+ "files": ["**/package.json", "**/*.js", "**/*.d.ts"],
63
62
  "exports": {
64
63
  ".": {
65
- "import": "./index.js",
66
- "types": "./index.d.ts"
64
+ "types": "./index.d.ts",
65
+ "import": "./index.js"
67
66
  },
68
67
  "./cypress": {
69
68
  "import": "./config/cypress/index.js",
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@perfective/eslint-config/rxjs",
3
+ "type": "module",
4
+ "module": "../config/rxjs/index.js",
5
+ "types": "../config/rxjs/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "../config/rxjs/index.d.ts",
9
+ "import": "../config/rxjs/index.js"
10
+ }
11
+ },
12
+ "sideEffects": false
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@perfective/eslint-config/simple-import-sort",
3
+ "type": "module",
4
+ "module": "../config/simple-import-sort/index.js",
5
+ "types": "../config/simple-import-sort/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "../config/simple-import-sort/index.d.ts",
9
+ "import": "../config/simple-import-sort/index.js"
10
+ }
11
+ },
12
+ "sideEffects": false
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@perfective/eslint-config/testing-library",
3
+ "type": "module",
4
+ "module": "../config/testing-library/index.js",
5
+ "types": "../config/testing-library/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "../config/testing-library/index.d.ts",
9
+ "import": "../config/testing-library/index.js"
10
+ }
11
+ },
12
+ "sideEffects": false
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@perfective/eslint-config/typescript-eslint",
3
+ "type": "module",
4
+ "module": "../config/typescript-eslint/index.js",
5
+ "types": "../config/typescript-eslint/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "../config/typescript-eslint/index.d.ts",
9
+ "import": "../config/typescript-eslint/index.js"
10
+ }
11
+ },
12
+ "sideEffects": false
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "@perfective/eslint-config/unicorn",
3
+ "type": "module",
4
+ "module": "../config/unicorn/index.js",
5
+ "types": "../config/unicorn/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "types": "../config/unicorn/index.d.ts",
9
+ "import": "../config/unicorn/index.js"
10
+ }
11
+ },
12
+ "sideEffects": false
13
+ }