Explorar el Código

Some formatting, eslint.

Frederic G. MARAND hace 8 años
padre
commit
f14d745471
Se han modificado 3 ficheros con 1 adiciones y 10 borrados
  1. 1 1
      .eslintrc.js
  2. 0 8
      AnimalsData.js
  3. 0 1
      assignment.js

+ 1 - 1
.eslintrc.js

@@ -223,7 +223,7 @@ module.exports = {
     // the functionality is the same.
     //
     "max-depth": [2, 3], // specify the maximum depth that blocks can be nested (off by default)
-    "max-len": [2, 200, 2], // specify the maximum length of a line in your program (off by default)
+    "max-len": [2, 120, 1, { ignorePattern: "^\\s+(description|image\\d): " }], // specify the maximum length of a line in your program (off by default)
     "max-params": [2, 10], // limits the number of parameters that can be used in the function declaration. (off by default)
     "max-statements": 0, // specify the maximum number of statement allowed in a function (off by default)
     "no-bitwise": 0, // disallow use of bitwise operators (off by default)

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 8
AnimalsData.js


+ 0 - 1
assignment.js

@@ -1 +0,0 @@
-// put your javascript code here

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio