eslint-config-decent 1.2.9 → 1.4.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/dist/index.cjs CHANGED
@@ -37,12 +37,7 @@ const base$8 = {
37
37
  "array-callback-return": ["error", { allowImplicit: true }],
38
38
  "block-scoped-var": "error",
39
39
  "callback-return": ["error", ["callback", "cb", "next", "done"]],
40
- "class-methods-use-this": [
41
- "error",
42
- {
43
- exceptMethods: []
44
- }
45
- ],
40
+ "class-methods-use-this": "off",
46
41
  "default-case": ["error", { commentPattern: "^no default$" }],
47
42
  "default-case-last": "error",
48
43
  eqeqeq: ["error", "smart"],
@@ -431,6 +426,7 @@ const base$5 = {
431
426
  rules: {
432
427
  ...mocha__default.configs.recommended.rules,
433
428
  "max-classes-per-file": "off",
429
+ "@typescript-eslint/no-confusing-void-expression": "off",
434
430
  "@typescript-eslint/no-empty-function": "off",
435
431
  "@typescript-eslint/no-unsafe-member-access": "off",
436
432
  "@typescript-eslint/no-unsafe-argument": "off",
package/dist/index.mjs CHANGED
@@ -19,12 +19,7 @@ const base$8 = {
19
19
  "array-callback-return": ["error", { allowImplicit: true }],
20
20
  "block-scoped-var": "error",
21
21
  "callback-return": ["error", ["callback", "cb", "next", "done"]],
22
- "class-methods-use-this": [
23
- "error",
24
- {
25
- exceptMethods: []
26
- }
27
- ],
22
+ "class-methods-use-this": "off",
28
23
  "default-case": ["error", { commentPattern: "^no default$" }],
29
24
  "default-case-last": "error",
30
25
  eqeqeq: ["error", "smart"],
@@ -413,6 +408,7 @@ const base$5 = {
413
408
  rules: {
414
409
  ...mocha.configs.recommended.rules,
415
410
  "max-classes-per-file": "off",
411
+ "@typescript-eslint/no-confusing-void-expression": "off",
416
412
  "@typescript-eslint/no-empty-function": "off",
417
413
  "@typescript-eslint/no-unsafe-member-access": "off",
418
414
  "@typescript-eslint/no-unsafe-argument": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-decent",
3
- "version": "1.2.9",
3
+ "version": "1.4.0",
4
4
  "description": "A decent ESLint configuration",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -74,7 +74,7 @@
74
74
  "dependencies": {
75
75
  "@eslint/js": "^9.6.0",
76
76
  "eslint-config-prettier": "^9.1.0",
77
- "eslint-plugin-jsdoc": "^48.5.2",
77
+ "eslint-plugin-jsdoc": "^48.7.0",
78
78
  "eslint-plugin-mocha": "^10.4.3",
79
79
  "eslint-plugin-prettier": "^5.1.3",
80
80
  "eslint-plugin-promise": "^6.4.0",
package/src/eslint.ts CHANGED
@@ -5,12 +5,7 @@ const base: ConfigWithExtends = {
5
5
  'array-callback-return': ['error', { allowImplicit: true }],
6
6
  'block-scoped-var': 'error',
7
7
  'callback-return': ['error', ['callback', 'cb', 'next', 'done']],
8
- 'class-methods-use-this': [
9
- 'error',
10
- {
11
- exceptMethods: [],
12
- },
13
- ],
8
+ 'class-methods-use-this': 'off',
14
9
  'default-case': ['error', { commentPattern: '^no default$' }],
15
10
  'default-case-last': 'error',
16
11
  eqeqeq: ['error', 'smart'],
package/src/mocha.ts CHANGED
@@ -10,6 +10,7 @@ const base: ConfigWithExtends = {
10
10
 
11
11
  'max-classes-per-file': 'off',
12
12
 
13
+ '@typescript-eslint/no-confusing-void-expression': 'off',
13
14
  '@typescript-eslint/no-empty-function': 'off',
14
15
  '@typescript-eslint/no-unsafe-member-access': 'off',
15
16
  '@typescript-eslint/no-unsafe-argument': 'off',