Browse Source

Some formatting, eslint.

Frederic G. MARAND 8 years ago
parent
commit
f14d745471
3 changed files with 1 additions and 10 deletions
  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)

File diff suppressed because it is too large
+ 0 - 8
AnimalsData.js


+ 0 - 1
assignment.js

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

Some files were not shown because too many files changed in this diff