Forráskód Böngészése

comment

take over commit comment to lint config
sschmid 4 éve
szülő
commit
0a4f5e6438
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      .eslintrc.js

+ 4 - 0
.eslintrc.js

@@ -94,6 +94,10 @@ module.exports = {
         "@typescript-eslint/typedef": [
             "error",
             {
+              // we could add this requirement for arrow parameters too,
+              //   but we have a lot of arrow parameters without types already (~25),
+              //   and a lot of them look ugly and unnecessarily explicit with types,
+              //   the type info is usually obvious there.
               "arrowParameter": false,
               "variableDeclaration": true
             }