@clipboard-health/eslint-config 4.10.0 → 4.11.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@clipboard-health/eslint-config",
3
3
  "description": "Our ESLint configuration.",
4
- "version": "4.10.0",
4
+ "version": "4.11.0",
5
5
  "bugs": "https://github.com/clipboardhealth/core-utils/issues",
6
6
  "keywords": [
7
7
  "config",
package/src/index.d.ts CHANGED
@@ -1,5 +1,25 @@
1
1
  declare let _extends: string[];
2
2
  export { _extends as extends };
3
+ export declare let overrides: ({
4
+ files: string[];
5
+ rules: {
6
+ "@typescript-eslint/no-unsafe-assignment": string;
7
+ "sonarjs/no-duplicate-string": string;
8
+ "@typescript-eslint/ban-types"?: never;
9
+ };
10
+ } | {
11
+ files: string[];
12
+ rules: {
13
+ "@typescript-eslint/ban-types": (string | {
14
+ extendDefaults: boolean;
15
+ types: {
16
+ null: boolean;
17
+ };
18
+ })[];
19
+ "@typescript-eslint/no-unsafe-assignment"?: never;
20
+ "sonarjs/no-duplicate-string"?: never;
21
+ };
22
+ })[];
3
23
  export declare let parser: string;
4
24
  export declare namespace parserOptions {
5
25
  let project: string[];
@@ -7,82 +27,64 @@ export declare namespace parserOptions {
7
27
  }
8
28
  export declare let plugins: string[];
9
29
  export declare let rules: {
10
- "capitalized-comments": string;
11
30
  "@typescript-eslint/consistent-type-definitions": string[];
12
31
  "@typescript-eslint/naming-convention": string;
13
- "security/detect-object-injection": string;
32
+ "@typescript-eslint/no-unsafe-call": string;
14
33
  "@typescript-eslint/no-unused-vars": (string | {
15
34
  argsIgnorePattern: string;
16
35
  })[];
17
- "no-return-await": string;
18
36
  "@typescript-eslint/return-await": string[];
19
- curly: string[];
37
+ "capitalized-comments": string;
20
38
  "class-methods-use-this": string;
39
+ curly: string[];
21
40
  "import/extensions": string;
22
- "n/no-missing-import": string;
23
- "n/no-unpublished-import": string;
24
- "unicorn/prefer-module": string;
41
+ "import/no-cycle": (string | {
42
+ ignoreExternal: boolean;
43
+ maxDepth: number;
44
+ })[];
25
45
  "import/no-extraneous-dependencies": string;
26
46
  "import/no-unresolved": string;
27
47
  "import/prefer-default-export": string;
28
48
  "jest/expect-expect": (string | {
29
49
  assertFunctionNames: string[];
30
50
  })[];
51
+ "n/no-missing-import": string;
52
+ "n/no-unpublished-import": string;
31
53
  "new-cap": (string | {
32
- newIsCap: boolean;
33
54
  capIsNew: boolean;
34
- })[];
35
- "import/no-cycle": (string | {
36
- ignoreExternal: boolean;
37
- maxDepth: number;
55
+ newIsCap: boolean;
38
56
  })[];
39
57
  "no-only-tests/no-only-tests": string;
58
+ "no-restricted-imports": (string | {
59
+ paths: {
60
+ importNames: string[];
61
+ message: string;
62
+ name: string;
63
+ }[];
64
+ })[];
40
65
  "no-restricted-syntax": (string | {
41
- selector: string;
42
66
  message: string;
67
+ selector: string;
43
68
  })[];
69
+ "no-return-await": string;
44
70
  "no-shadow": string;
71
+ "no-underscore-dangle": string;
72
+ "no-use-before-define": (string | {
73
+ classes: boolean;
74
+ functions: boolean;
75
+ })[];
45
76
  "object-shorthand": string[];
46
- "simple-import-sort/imports": string;
77
+ "security/detect-object-injection": string;
47
78
  "simple-import-sort/exports": string;
79
+ "simple-import-sort/imports": string;
80
+ "unicorn/no-array-callback-reference": string;
48
81
  "unicorn/no-array-for-each": string;
49
82
  "unicorn/no-array-reduce": string;
83
+ "unicorn/prefer-module": string;
50
84
  "unicorn/prevent-abbreviations": (string | {
51
85
  ignore: RegExp[];
52
86
  })[];
53
- "no-underscore-dangle": string;
54
- "no-use-before-define": (string | {
55
- functions: boolean;
56
- classes: boolean;
57
- })[];
58
- "no-restricted-imports": (string | {
59
- paths: {
60
- name: string;
61
- importNames: string[];
62
- message: string;
63
- }[];
64
- })[];
65
87
  };
66
- export declare let overrides: ({
67
- files: string[];
68
- rules: {
69
- "@typescript-eslint/no-unsafe-assignment": string;
70
- "sonarjs/no-duplicate-string": string;
71
- "@typescript-eslint/ban-types"?: never;
72
- };
73
- } | {
74
- files: string[];
75
- rules: {
76
- "@typescript-eslint/ban-types": (string | {
77
- extendDefaults: boolean;
78
- types: {
79
- null: boolean;
80
- };
81
- })[];
82
- "@typescript-eslint/no-unsafe-assignment"?: never;
83
- "sonarjs/no-duplicate-string"?: never;
84
- };
85
- })[];
86
88
  export declare namespace settings {
87
89
  namespace node {
88
90
  let version: string;
package/src/index.js CHANGED
@@ -19,6 +19,44 @@ module.exports = {
19
19
  "xo-typescript/space",
20
20
  "prettier",
21
21
  ],
22
+ overrides: [
23
+ {
24
+ files: [
25
+ "*.spec.ts",
26
+ "*.spec.tsx",
27
+ "*.spec.js",
28
+ "*.spec.jsx",
29
+ "*.test.ts",
30
+ "*.test.tsx",
31
+ "*.test.js",
32
+ "*.test.jsx",
33
+ ],
34
+ rules: {
35
+ // Interferes with `jest`'s `expect.any`
36
+ "@typescript-eslint/no-unsafe-assignment": "off",
37
+ // Duplication allows verbose test case setups and asserts
38
+ "sonarjs/no-duplicate-string": "off",
39
+ },
40
+ },
41
+ /**
42
+ * Exclude *.dto.ts, null is needed for PATCH endpoints to differentiate empty from optional fields
43
+ * Exclude *.repository.ts, null is needed for our ORMs (prisma and mongoose)
44
+ */
45
+ {
46
+ files: ["**/*.dto.ts", "**/*.repository.ts", "**/*.repo.ts"],
47
+ rules: {
48
+ "@typescript-eslint/ban-types": [
49
+ "error",
50
+ {
51
+ extendDefaults: true,
52
+ types: {
53
+ null: false,
54
+ },
55
+ },
56
+ ],
57
+ },
58
+ },
59
+ ],
22
60
  parser: "@typescript-eslint/parser",
23
61
  parserOptions: {
24
62
  project: ["tsconfig.json"],
@@ -33,28 +71,24 @@ module.exports = {
33
71
  "@typescript-eslint",
34
72
  ],
35
73
  rules: {
36
- // Breaks code when temporarily commented, adding more friction than the value provided.
37
- "capitalized-comments": "off",
38
74
  // See https://github.com/microsoft/TypeScript/wiki/Performance#preferring-interfaces-over-intersections
39
75
  "@typescript-eslint/consistent-type-definitions": ["error", "interface"],
40
76
  // Too many false positives
41
77
  "@typescript-eslint/naming-convention": "off",
42
- "security/detect-object-injection": "off",
78
+ // Makes functional programming difficult
79
+ "@typescript-eslint/no-unsafe-call": "off",
43
80
  // Prefer an escape hatch instead of an outright ban
44
81
  "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
45
- // Prefer debugging ease over an extra microtask by requiring `return await`.
46
- // `no-return-await` states "This can make debugging more difficult."
47
- "no-return-await": "off",
48
82
  "@typescript-eslint/return-await": ["error", "always"],
49
- // Prevent bugs
50
- curly: ["error", "all"],
83
+ // Breaks code when temporarily commented, adding more friction than the value provided.
84
+ "capitalized-comments": "off",
51
85
  // Recommends using static fields instead of moving to a function
52
86
  "class-methods-use-this": "off",
87
+ // Prevent bugs
88
+ curly: ["error", "all"],
53
89
  // Our libraries don't use ESM
54
90
  "import/extensions": "off",
55
- "n/no-missing-import": "off",
56
- "n/no-unpublished-import": "off",
57
- "unicorn/prefer-module": "off",
91
+ "import/no-cycle": ["error", { ignoreExternal: true, maxDepth: 16 }],
58
92
  // Rely on `"n/no-extraneous-import"` instead
59
93
  "import/no-extraneous-dependencies": "off",
60
94
  // Doesn't play well with NX/monorepos
@@ -77,102 +111,76 @@ module.exports = {
77
111
  ],
78
112
  },
79
113
  ],
114
+ // Our libraries don't use ESM
115
+ "n/no-missing-import": "off",
116
+ // Our libraries don't use ESM
117
+ "n/no-unpublished-import": "off",
80
118
  // Allow PascalCase for Decorators
81
- "new-cap": ["warn", { newIsCap: true, capIsNew: false }],
82
- "import/no-cycle": ["error", { ignoreExternal: true, maxDepth: 16 }],
119
+ "new-cap": ["warn", { capIsNew: false, newIsCap: true }],
83
120
  // Disallow `.only` in tests to prevent it from making it into `main`.
84
121
  "no-only-tests/no-only-tests": "error",
122
+ "no-restricted-imports": [
123
+ "error",
124
+ {
125
+ paths: [
126
+ // We want `ObjectId` to be imported from `mongoose` only
127
+ {
128
+ importNames: ["ObjectId", "ObjectID"],
129
+ message: 'Importing `ObjectId` from `mongodb` is not allowed. Use `import { Types } from "mongoose"` and then `Types.ObjectId` instead.',
130
+ name: "mongodb",
131
+ },
132
+ ],
133
+ },
134
+ ],
85
135
  // Adapter from Airbnb's config, but allows ForOfStatement.
86
136
  // See https://github.com/airbnb/javascript/blob/0f3ca32323b8d5770de3301036e65511c6d18e00/packages/eslint-config-airbnb-base/rules/style.js#L340-L358
87
137
  "no-restricted-syntax": [
88
138
  "error",
89
139
  {
90
- selector: "ForInStatement",
91
140
  message: "for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.",
141
+ selector: "ForInStatement",
92
142
  },
93
143
  {
94
- selector: "LabeledStatement",
95
144
  message: "Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.",
145
+ selector: "LabeledStatement",
96
146
  },
97
147
  {
98
- selector: "WithStatement",
99
148
  message: "`with` is disallowed in strict mode because it makes code impossible to predict and optimize.",
149
+ selector: "WithStatement",
100
150
  },
101
151
  ],
152
+ // Prefer debugging ease over an extra microtask by requiring `return await`.
153
+ // `no-return-await` states "This can make debugging more difficult."
154
+ "no-return-await": "off",
102
155
  // False positive on `enum`s
103
156
  "no-shadow": "off",
157
+ // Polarizing naming convention that isn't followed by us
158
+ "no-underscore-dangle": "off",
159
+ // We use TypeScript where these are caught by the compiler
160
+ "no-use-before-define": ["error", { classes: false, functions: false }],
104
161
  /*
105
162
  * Only enable for properties. Favor arrow functions, they don’t have a `this` reference,
106
163
  * preventing accidental usage.
107
164
  */
108
165
  "object-shorthand": ["error", "properties"],
166
+ "security/detect-object-injection": "off",
167
+ "simple-import-sort/exports": "warn",
109
168
  // Sort imports and exports
110
169
  "simple-import-sort/imports": "warn",
111
- "simple-import-sort/exports": "warn",
170
+ // Makes functional programming difficult
171
+ "unicorn/no-array-callback-reference": "off",
112
172
  // "Better readability" is subjective
113
173
  "unicorn/no-array-for-each": "off",
174
+ // "Better readability" is subjective
114
175
  "unicorn/no-array-reduce": "off",
176
+ // Our libraries don't use ESM
177
+ "unicorn/prefer-module": "off",
115
178
  // Allow common, well understood abbreviations
116
179
  "unicorn/prevent-abbreviations": [
117
180
  "error",
118
181
  { ignore: [/config/i, /params/i, /props/i, /ref/i] },
119
182
  ],
120
- // Polarizing naming convention that isn't followed by us
121
- "no-underscore-dangle": "off",
122
- // We use TypeScript where these are caught by the compiler
123
- "no-use-before-define": ["error", { functions: false, classes: false }],
124
- "no-restricted-imports": [
125
- "error",
126
- {
127
- paths: [
128
- // We want `ObjectId` to be imported from `mongoose` only
129
- {
130
- name: "mongodb",
131
- importNames: ["ObjectId", "ObjectID"],
132
- message: 'Importing `ObjectId` from `mongodb` is not allowed. Use `import { Types } from "mongoose"` and then `Types.ObjectId` instead.',
133
- },
134
- ],
135
- },
136
- ],
137
183
  },
138
- overrides: [
139
- {
140
- files: [
141
- "*.spec.ts",
142
- "*.spec.tsx",
143
- "*.spec.js",
144
- "*.spec.jsx",
145
- "*.test.ts",
146
- "*.test.tsx",
147
- "*.test.js",
148
- "*.test.jsx",
149
- ],
150
- rules: {
151
- // Interferes with `jest`'s `expect.any`
152
- "@typescript-eslint/no-unsafe-assignment": "off",
153
- // Duplication allows verbose test case setups and asserts
154
- "sonarjs/no-duplicate-string": "off",
155
- },
156
- },
157
- /**
158
- * Exclude *.dto.ts, null is needed for PATCH endpoints to differentiate empty from optional fields
159
- * Exclude *.repository.ts, null is needed for our ORMs (prisma and mongoose)
160
- */
161
- {
162
- files: ["**/*.dto.ts", "**/*.repository.ts"],
163
- rules: {
164
- "@typescript-eslint/ban-types": [
165
- "error",
166
- {
167
- extendDefaults: true,
168
- types: {
169
- null: false,
170
- },
171
- },
172
- ],
173
- },
174
- },
175
- ],
176
184
  settings: { node: { version: ">=18.15.0" } },
177
185
  };
178
186
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","s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,sBAAsB,EAAE,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;QAEvE,uBAAuB,EAAE;YACvB,OAAO;YACP;gBACE,KAAK,EAAE;oBACL,yDAAyD;oBACzD;wBACE,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC;wBACrC,OAAO,EACL,+HAA+H;qBAClI;iBACF;aACF;SACF;KACF;IACD,SAAS,EAAE;QACT;YACE,KAAK,EAAE;gBACL,WAAW;gBACX,YAAY;gBACZ,WAAW;gBACX,YAAY;gBACZ,WAAW;gBACX,YAAY;gBACZ,WAAW;gBACX,YAAY;aACb;YACD,KAAK,EAAE;gBACL,wCAAwC;gBACxC,yCAAyC,EAAE,KAAK;gBAEhD,0DAA0D;gBAC1D,6BAA6B,EAAE,KAAK;aACrC;SACF;QACD;;;WAGG;QACH;YACE,KAAK,EAAE,CAAC,aAAa,EAAE,oBAAoB,CAAC;YAC5C,KAAK,EAAE;gBACL,8BAA8B,EAAE;oBAC9B,OAAO;oBACP;wBACE,cAAc,EAAE,IAAI;wBACpB,KAAK,EAAE;4BACL,IAAI,EAAE,KAAK;yBACZ;qBACF;iBACF;aACF;SACF;KACF;IACD,QAAQ,EAAE,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE;CAC7C,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/eslint-config/src/index.js"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACf,OAAO,EAAE;QACP,oBAAoB;QACpB,8CAA8C;QAC9C,uCAAuC;QACvC,aAAa;QACb,oCAAoC;QACpC,gCAAgC;QAChC,yBAAyB;QACzB,mBAAmB;QACnB,2BAA2B;QAC3B,sBAAsB;QACtB,yCAAyC;QACzC,6BAA6B;QAC7B,4BAA4B;QAC5B,4BAA4B;QAC5B,IAAI;QACJ,qBAAqB;QACrB,U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