You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 12, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: lib/shared.js
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -257,6 +257,7 @@ module.exports = {
257
257
rules: {
258
258
// The following rules are enabled in Airbnb config, but are already checked (more thoroughly) by the TypeScript compiler
259
259
// Some of the rules also fail in TypeScript files, for example: https://github.com/typescript-eslint/typescript-eslint/issues/662#issuecomment-507081586
260
+
// Rules are inspired by: https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/src/configs/eslint-recommended.ts
260
261
'constructor-super': 'off',
261
262
'getter-return': 'off',
262
263
'no-const-assign': 'off',
@@ -274,8 +275,11 @@ module.exports = {
274
275
'no-unreachable': 'off',
275
276
'no-unsafe-negation': 'off',
276
277
'valid-typeof': 'off',
278
+
// The following rules are enabled in Airbnb config, but are recommended to be disabled within TypeScript projects
0 commit comments