Przeglądaj źródła

Some formatting, eslint.

Frederic G. MARAND 8 lat temu
rodzic
commit
f14d745471
3 zmienionych plików z 1 dodań i 10 usunięć
  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)

Plik diff jest za duży
+ 0 - 8
AnimalsData.js


+ 0 - 1
assignment.js

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

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików