Ver Fonte

perfer const

Rawr há 5 anos atrás
pai
commit
8eb4096117
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      package.json

+ 5 - 1
package.json

@@ -41,7 +41,11 @@
         {
           "SwitchCase": 1
         }
-      ]
+      ],
+      "prefer-const": ["error", {
+        "destructuring": "any",
+        "ignoreReadBeforeAssign": false
+      }]
     }
   },
   "scripts": {