JohnSimerlink / branches_front_end_private

learn a bit faster . . . eventually 10x faster
5 stars 4 forks source link

Warnings after doing npm run #36

Open jonmseaman opened 6 years ago

jonmseaman commented 6 years ago

There are some warnings that are showing up after running npm run dev that we should consider fixing.

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Warning: branches-stripe.less: line 17, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: knawledgeMap.less: line 3, col 1, idSelector: Selectors should not use IDs.
Warning: coordinates.less: line 6, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: main.less: line 8, col 39, importantRule: !important should not be used.
Warning: main.less: line 152, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: main.less: line 156, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: newTree.less: line 4, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: newTree.less: line 7, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: newTree.less: line 10, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: mapChooser.less: line 10, col 1, emptyRule: There shouldn't be any empty rules present.
Warning: mapChooser.less: line 10, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: mapChooser.less: line 11, col 2, finalNewline: Files should end with a newline.
Warning: signUp.less: line 5, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: tree.less: line 197, col 18, importantRule: !important should not be used.
Warning: tree.less: line 198, col 13, importantRule: !important should not be used.
Warning: tree.less: line 199, col 14, importantRule: !important should not be used.
Warning: tree.less: line 202, col 18, importantRule: !important should not be used.
Warning: points.less: line 11, col 2, finalNewline: Files should end with a newline.
jonmseaman commented 6 years ago

Here is a complete list of the warnings from the npm run dev.

Warnings

C:\Source\branches_front_end_private [jonmseaman-remove-dead-code ≡]> npm run dev

> branches@1.0.0 dev C:\Source\branches_front_end_private
> cross-env set NODE_ENV=development && webpack-dev-server --inline --hot

Project is running at http://localhost:8080/
webpack output is served from /dist/
404s will fallback to /index.html

[at-loader] Using typescript@2.6.2 from typescript and "tsconfig.json" from C:\Source\branches_front_end_private/tsconfig.json.

[at-loader] Checking started in a separate process...

[at-loader] Ok, 3.109 sec.
Hash: 97bde2a3313be5cb6bc3
Version: webpack 2.6.1
Time: 31392ms
         Asset     Size  Chunks                    Chunk Names
      build.js  4.71 MB       0  [emitted]  [big]  build
     vendor.js  1.93 MB       1  [emitted]  [big]  vendor
regenerator.js   393 kB       2  [emitted]  [big]  regenerator
chunk    {0} build.js (build) 4.29 MB [entry] [rendered]
    [6] (webpack)/buildin/global.js 509 bytes {0} {1} {2} [built]
    [8] ./other_imports/sigma/sigma.core.js 20.3 kB {0} {1} [built]
   [71] (webpack)-dev-server/client?http://localhost:8080 5.68 kB {0} {1} {2} [built]
   [72] (webpack)/hot/dev-server.js 1.57 kB {0} {1} {2} [built]
  [246] ./~/strip-ansi/index.js 161 bytes {0} {1} {2} [built]
  [248] ./~/url/url.js 23.3 kB {0} {1} {2} [built]
  [250] (webpack)-dev-server/client/overlay.js 3.73 kB {0} {1} {2} [built]
  [253] (webpack)/hot/log-apply-result.js 1.02 kB {0} {1} {2} [built]
  [286] ./inversify.config.ts 46.6 kB {0} [built] [1 warning]
  [289] ./other_imports/sigma/captors/sigma.captors.mouse.js 10.2 kB {0} {1} [built]
  [290] ./other_imports/sigma/captors/sigma.captors.touch.js 11.8 kB {0} {1} [built]
  [291] ./other_imports/sigma/classes/sigma.classes.camera.js 8.71 kB {0} {1} [built]
  [292] ./other_imports/sigma/classes/sigma.classes.configurable.js 4.33 kB {0} {1} [built]
  [466] ./app/core/bootstrap2.ts 671 bytes {0} [built]
  [727] multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts 52 bytes {0} [built]
     + 706 hidden modules
chunk    {1} vendor.js (vendor) 1.74 MB [entry] [rendered]
    [8] ./other_imports/sigma/sigma.core.js 20.3 kB {0} {1} [built]
   [71] (webpack)-dev-server/client?http://localhost:8080 5.68 kB {0} {1} {2} [built]
   [72] (webpack)/hot/dev-server.js 1.57 kB {0} {1} {2} [built]
  [248] ./~/url/url.js 23.3 kB {0} {1} {2} [built]
  [250] (webpack)-dev-server/client/overlay.js 3.73 kB {0} {1} {2} [built]
  [299] ./other_imports/sigma/misc/sigma.misc.animation.js 8.14 kB {0} {1} [built]
  [316] ./other_imports/sigma/utils/sigma.polyfills.js 2.12 kB {0} {1} [built]
  [317] ./other_imports/sigma/utils/sigma.utils.branches.js 1.82 kB {0} {1} [built]
  [318] ./other_imports/sigma/utils/sigma.utils.js 42.1 kB {0} {1} [built]
  [467] ./vendor.js 2.38 kB {1} [built]
  [641] ./other_imports/odometer/odometer.min.js 13.6 kB {1} [built]
  [642] ./other_imports/offlinejs.js 12.1 kB {1} [built]
  [643] ./other_imports/pubsub.js 7.33 kB {1} [built]
  [644] ./other_imports/taggle/jquery-ui.js 291 kB {1} [built]
  [728] multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./vendor.js 52 bytes {1} [built]
     + 235 hidden modules
chunk    {2} regenerator.js (regenerator) 324 kB [entry] [rendered]
    [4] ./~/process/browser.js 5.42 kB {0} {1} {2} [built]
    [6] (webpack)/buildin/global.js 509 bytes {0} {1} {2} [built]
   [70] (webpack)/hot/emitter.js 77 bytes {0} {1} {2} [built]
   [71] (webpack)-dev-server/client?http://localhost:8080 5.68 kB {0} {1} {2} [built]
   [72] (webpack)/hot/dev-server.js 1.57 kB {0} {1} {2} [built]
   [90] ./~/ansi-regex/index.js 135 bytes {0} {1} {2} [built]
   [95] ./~/html-entities/index.js 231 bytes {0} {1} {2} [built]
  [215] ./~/punycode/punycode.js 14.7 kB {0} {1} {2} [built]
  [246] ./~/strip-ansi/index.js 161 bytes {0} {1} {2} [built]
  [248] ./~/url/url.js 23.3 kB {0} {1} {2} [built]
  [250] (webpack)-dev-server/client/overlay.js 3.73 kB {0} {1} {2} [built]
  [251] (webpack)-dev-server/client/socket.js 897 bytes {0} {1} {2} [built]
  [253] (webpack)/hot/log-apply-result.js 1.02 kB {0} {1} {2} [built]
  [468] ./~/babel-regenerator-runtime/runtime.js 21.5 kB {2} [built]
  [729] multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server babel-regenerator-runtime 52 bytes {2} [built]
     + 72 hidden modules

WARNING in ./app/core/components2.ts
[3, 1]: Consecutive blank lines are forbidden

 @ ./app/core/bootstrap2.ts 4:0-24
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./inversify.config.ts
[815, 10]: Don't use 'Number' as a type. Avoid using the `Number` type. Did you mean `number`?
[181, 1]: Exceeds maximum line length of 120
[190, 1]: Exceeds maximum line length of 120
[219, 11]: require statement not part of an import statement
[221, 11]: require statement not part of an import statement
[223, 12]: require statement not part of an import statement
[225, 12]: require statement not part of an import statement

 @ ./app/core/bootstrap2.ts 5:25-58
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/types.ts
[167, 1]: Exceeds maximum line length of 120

 @ ./app/core/bootstrap2.ts 6:14-41
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./other_imports/sigma/renderers/canvas/sigmaLabelPrioritizer.ts
[5, 1]: Forbidden 'var' keyword, use 'let' or 'const' instead
[6, 1]: Forbidden 'var' keyword, use 'let' or 'const' instead
[8, 8]: Forbidden 'var' keyword, use 'let' or 'const' instead
[10, 8]: Forbidden 'var' keyword, use 'let' or 'const' instead
[5, 5]: Identifier 'xOffset' is never reassigned; use 'const' instead of 'var'.
[6, 5]: Identifier 'A_BIG_NUMBER' is never reassigned; use 'const' instead of 'var'.

 @ ./other_imports/sigma/renderers/canvas/sigma.canvas.labels.def.js 9:29-66
 @ ./vendor.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./vendor.js

WARNING in ./app/objects/interfaces.ts
[1250, 18]: interface name must start with a capitalized I
[793, 13]: Use an interface instead of a type literal.
[8, 27]: " should be '

 @ ./inversify.config.ts 20:19-54 21:19-54
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/core/store.ts
[401, 6]: parameters are not aligned
[456, 8]: statements are not aligned
[457, 8]: statements are not aligned
[460, 8]: statements are not aligned
[461, 8]: statements are not aligned
[464, 8]: statements are not aligned
[465, 8]: statements are not aligned
[467, 8]: statements are not aligned
[469, 8]: statements are not aligned
[470, 8]: statements are not aligned
[476, 8]: statements are not aligned
[477, 8]: statements are not aligned
[742, 9]: parameters are not aligned
[806, 9]: parameters are not aligned
[816, 8]: parameters are not aligned
[322, 1]: jsdoc is not formatted correctly on this line
[322, 1]: asterisks in jsdoc must be aligned
[323, 1]: jsdoc is not formatted correctly on this line
[323, 1]: asterisks in jsdoc must be aligned
[324, 1]: jsdoc is not formatted correctly on this line
[324, 1]: asterisks in jsdoc must be aligned
[431, 1]: Exceeds maximum line length of 120
[479, 1]: Exceeds maximum line length of 120
[264, 13]: Calls to 'console.error' are not allowed.
[112, 16]: Shadowed name: 'state'
[131, 12]: Shadowed name: 'state'
[134, 14]: Shadowed name: 'state'
[144, 16]: Shadowed name: 'state'
[153, 38]: Shadowed name: 'state'
[163, 14]: Shadowed name: 'state'
[167, 21]: Shadowed name: 'state'
[171, 19]: Shadowed name: 'state'
[181, 14]: Shadowed name: 'state'
[184, 22]: Shadowed name: 'state'
[187, 19]: Shadowed name: 'state'
[190, 17]: Shadowed name: 'state'
[193, 21]: Shadowed name: 'state'
[201, 30]: Shadowed name: 'state'
[204, 38]: Shadowed name: 'state'
[215, 67]: Shadowed name: 'state'
[262, 30]: Shadowed name: 'state'
[269, 34]: Shadowed name: 'state'
[276, 9]: Shadowed name: 'state'
[309, 9]: Shadowed name: 'state'
[332, 47]: Shadowed name: 'state'
[344, 9]: Shadowed name: 'state'
[400, 42]: Shadowed name: 'state'
[417, 37]: Shadowed name: 'state'
[431, 52]: Shadowed name: 'state'
[454, 9]: Shadowed name: 'state'
[479, 55]: Shadowed name: 'state'
[503, 39]: Shadowed name: 'state'
[512, 9]: Shadowed name: 'state'
[527, 9]: Shadowed name: 'state'
[547, 32]: Shadowed name: 'state'
[567, 36]: Shadowed name: 'state'
[578, 34]: Shadowed name: 'state'
[588, 9]: Shadowed name: 'state'
[608, 43]: Shadowed name: 'state'
[620, 31]: Shadowed name: 'state'
[628, 32]: Shadowed name: 'state'
[638, 34]: Shadowed name: 'state'
[640, 49]: Shadowed name: 'state'
[681, 36]: Shadowed name: 'state'
[686, 9]: Shadowed name: 'state'
[712, 42]: Shadowed name: 'state'
[741, 57]: Shadowed name: 'state'
[753, 46]: Shadowed name: 'state'
[760, 43]: Shadowed name: 'state'
[769, 45]: Shadowed name: 'state'
[781, 36]: Shadowed name: 'state'
[794, 33]: Shadowed name: 'state'
[802, 36]: Shadowed name: 'state'
[805, 45]: Shadowed name: 'state'
[809, 41]: Shadowed name: 'state'
[812, 39]: Shadowed name: 'state'
[815, 44]: Shadowed name: 'state'
[827, 9]: Shadowed name: 'state'
[886, 12]: Shadowed name: 'state'
[901, 6]: Shadowed name: 'state'
[112, 31]: Shadowed name: 'getters'
[131, 27]: Shadowed name: 'getters'
[134, 29]: Shadowed name: 'getters'
[144, 31]: Shadowed name: 'getters'
[153, 53]: Shadowed name: 'getters'
[163, 29]: Shadowed name: 'getters'
[167, 36]: Shadowed name: 'getters'
[171, 34]: Shadowed name: 'getters'
[181, 29]: Shadowed name: 'getters'
[184, 37]: Shadowed name: 'getters'
[187, 34]: Shadowed name: 'getters'
[190, 32]: Shadowed name: 'getters'
[193, 36]: Shadowed name: 'getters'
[280, 15]: Shadowed name: 'id'
[856, 15]: object access via string literals is disallowed
[857, 15]: object access via string literals is disallowed
[858, 15]: object access via string literals is disallowed
[859, 15]: object access via string literals is disallowed
[860, 15]: object access via string literals is disallowed
[861, 15]: object access via string literals is disallowed
[862, 15]: object access via string literals is disallowed
[863, 15]: object access via string literals is disallowed
[136, 13]: Forbidden 'var' keyword, use 'let' or 'const' instead
[137, 13]: Forbidden 'var' keyword, use 'let' or 'const' instead
[55, 11]: require statement not part of an import statement
[57, 11]: require statement not part of an import statement
[136, 17]: Identifier 'reactive' is never reassigned; use 'const' instead of 'var'.
[137, 17]: Identifier 'obj' is never reassigned; use 'const' instead of 'var'.

 @ ./inversify.config.ts 74:14-41
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/core/VueConfigurer.ts
[5, 11]: require statement not part of an import statement
[7, 11]: require statement not part of an import statement
[10, 17]: require statement not part of an import statement
[12, 17]: require statement not part of an import statement
[14, 21]: require statement not part of an import statement
[16, 21]: require statement not part of an import statement

 @ ./inversify.config.ts 106:22-57
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/loaders/treeLocation/TreeLocationLoader.ts
[63, 21]: Calls to 'console.error' are not allowed.

 @ ./inversify.config.ts 11:27-83
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/contentUser/SubscribableContentUser.ts
[70, 51]: Array type using 'Array<T>' is forbidden for simple types. Use 'T[]' instead.
[70, 57]: Don't use 'Function' as a type. Avoid using the `Function` type. Prefer a specific function type, like `() => void`.

 @ ./inversify.config.ts 14:32-92
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/set/SubscribableMutableStringSet.ts
[13, 1]: Forbidden 'var' keyword, use 'let' or 'const' instead
[13, 17]: require statement not part of an import statement
[13, 5]: Identifier 'clonedeep' is never reassigned; use 'const' instead of 'var'.

 @ ./inversify.config.ts 25:37-94
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/field/MutableSubscribableField.ts
[40, 29]: Missing radix parameter

 @ ./inversify.config.ts 17:33-88
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/sigmaNode/SigmaNodesUpdater.ts
[78, 1]: Exceeds maximum line length of 120
[88, 1]: Exceeds maximum line length of 120

 @ ./inversify.config.ts 31:26-78
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/sigmaNode/SigmaRenderManager.ts
[137, 51]: Don't use 'Function' as a type. Avoid using the `Function` type. Prefer a specific function type, like `() => void`.

 @ ./inversify.config.ts 32:27-80
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/MutableSubscribableGlobalStore.ts
[118, 23]: Shadowed name: 'id'
[134, 23]: Shadowed name: 'id'
[142, 23]: Shadowed name: 'id'
[23, 13]: variable name must be in lowerCamelCase, PascalCase or UPPER_CASE

 @ ./inversify.config.ts 37:39-101
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/StoreSourceUpdateListener.ts
[11, 1]: Exceeds maximum line length of 120

 @ ./inversify.config.ts 38:34-91
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/StoreSourceUpdateListenerCore.ts
[29, 14]: object access via string literals is disallowed

 @ ./inversify.config.ts 39:38-99
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/SubscribableStoreSource.ts
[31, 13]: variable name must be in lowerCamelCase, PascalCase or UPPER_CASE

 @ ./inversify.config.ts 41:32-87
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/content/MutableSubscribableContentStore.ts
[51, 1]: Consecutive blank lines are forbidden

 @ ./inversify.config.ts 33:40-111
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/contentUser/OverdueListenerMutableSubscribableContentUserStore.ts
[57, 25]: Array type using 'T[]' is forbidden for non-simple types. Use 'Array<T>' instead.
[27, 10]: Shadowed name: 'id'
[45, 20]: Shadowed name: 'id'

 @ ./inversify.config.ts 117:59-153
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/tree/MutableSubscribableTreeStore.ts
[34, 77]: object access via string literals is disallowed

 @ ./inversify.config.ts 42:37-102
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/tree/AutoSaveMutableSubscribableTreeStore.ts
[41, 1]: Exceeds maximum line length of 120

 @ ./inversify.config.ts 92:45-118
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/treeUser/MutableSubscribableTreeUserStore.ts
[21, 87]: object access via string literals is disallowed

 @ ./inversify.config.ts 46:41-114
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/tree/SubscribableTree.ts
[61, 51]: Array type using 'Array<T>' is forbidden for simple types. Use 'T[]' instead.
[61, 57]: Don't use 'Function' as a type. Avoid using the `Function` type. Prefer a specific function type, like `() => void`.
[35, 27]: Shadowed name: 'id'

 @ ./inversify.config.ts 51:25-71
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/treeLocation/SubscribableTreeLocation.ts
[56, 51]: Array type using 'Array<T>' is forbidden for simple types. Use 'T[]' instead.
[56, 57]: Don't use 'Function' as a type. Avoid using the `Function` type. Prefer a specific function type, like `() => void`.

 @ ./inversify.config.ts 57:33-95
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/treeLocation/SyncableMutableSubscribableTreeLocation.ts
[21, 1]: Exceeds maximum line length of 120

 @ ./inversify.config.ts 82:48-125
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/loaders/contentUser/ContentUserLoaderAndOverdueListener.ts
[14, 52]: " should be '

 @ ./inversify.config.ts 116:44-116
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/oneToManyMap/oneToManyMap.ts
[4, 11]: require statement not part of an import statement
[6, 11]: require statement not part of an import statement

 @ ./inversify.config.ts 72:21-71
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/tree/tree.ts
[187, 27]: Shadowed name: 'timestamp'
[137, 32]: object access via string literals is disallowed
[145, 36]: object access via string literals is disallowed
[18, 22]: require statement not part of an import statement
[26, 18]: require statement not part of an import statement

 @ ./inversify.config.ts 76:13-50 123:13-50
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/newTree/newTree.ts
[41, 17]: Calls to 'console.log' are not allowed.
[44, 17]: Calls to 'console.log' are not allowed.
[14, 20]: require statement not part of an import statement
[14, 56]: require statement not part of an import statement
[18, 16]: require statement not part of an import statement
[18, 53]: require statement not part of an import statement
[14, 9]: Identifier 'register' is never reassigned; use 'const' instead of 'let'.
[18, 5]: Identifier 'template' is never reassigned; use 'const' instead of 'let'.

 @ ./inversify.config.ts 80:16-59
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/loaders/sigmaNode/familyLoaderCore.ts
[29, 13]: Calls to 'console.error' are not allowed.

 @ ./inversify.config.ts 109:25-76
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/user/usersUtils.ts
[43, 13]: Calls to 'console.error' are not allowed.
[16, 33]: " should be '

 @ ./inversify.config.ts 113:19-59
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/knawledgeMap/KnawledgeMapNew.ts
[14, 22]: require statement not part of an import statement

 @ ./inversify.config.ts 119:24-80
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/koalaUrl.ts
[1, 1]: Exceeds maximum line length of 120

 @ ./app/core/globals.ts 4:17-39
 @ ./other_imports/sigma/renderers/sigma.renderers.canvas.js
 @ ./vendor.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./vendor.js

WARNING in ./app/objects/treeLocation/determineNewLocation.ts
[87, 1]: Exceeds maximum line length of 120
[58, 38]: Shadowed name: 'r'
[91, 36]: Shadowed name: 'r'

 @ ./app/core/store.ts 69:29-84
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/loaders/tree/TreeDeserializer.ts
[11, 27]: " should be '

 @ ./app/loaders/tree/TreeLoader.ts 52:25-54
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/loaders/treeLocation/TreeLocationDeserializer.ts
[6, 1]: Exceeds maximum line length of 120

 @ ./app/loaders/treeLocation/TreeLocationLoader.ts 52:33-70
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/forgettingCurve.ts
[33, 1]: Exceeds maximum line length of 120

 @ ./app/objects/contentUser/MutableSubscribableContentUser.ts 30:24-56
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/contentUser/ContentUserDataUtils.ts
[14, 17]: Forbidden bitwise operation
[6, 99]: missing whitespace
[14, 27]: missing whitespace
[14, 28]: missing whitespace

 @ ./app/objects/sigmaNode/SigmaNode.ts 17:29-75
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/sigmaEdge/sigmaEdge.ts
[7, 11]: Shadowed name: 'id'
[26, 11]: Shadowed name: 'id'

 @ ./app/objects/sigmaNode/SigmaNodesUpdater.ts 27:18-51
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/tree/TreeUtils.ts
[2, 17]: require statement not part of an import statement
[4, 17]: require statement not part of an import statement
[6, 11]: require statement not part of an import statement
[8, 11]: require statement not part of an import statement

 @ ./app/objects/stores/MutableSubscribableGlobalStore.ts 29:18-46
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/content/contentUtils.ts
[3, 17]: require statement not part of an import statement
[5, 17]: require statement not part of an import statement
[7, 11]: require statement not part of an import statement
[9, 11]: require statement not part of an import statement

 @ ./app/objects/stores/MutableSubscribableGlobalStore.ts 28:21-55
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/stores/SubscribableStore.ts
[30, 31]: Don't use 'Function' as a type. Avoid using the `Function` type. Prefer a specific function type, like `() => void`.
[24, 13]: variable name must be in lowerCamelCase, PascalCase or UPPER_CASE

 @ ./app/objects/stores/content/SubscribableContentStore.ts 24:26-57
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/loaders/contentUser/ContentUserDeserializer.ts
[34, 1]: Exceeds maximum line length of 120

 @ ./app/objects/stores/contentUser/MutableSubscribableContentUserStore.ts 13:32-95
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/main/main.ts
[4, 20]: require statement not part of an import statement
[6, 20]: require statement not part of an import statement

 @ ./app/core/VueConfigurer.ts 29:13-47
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/signUp/signUp.ts
[6, 20]: require statement not part of an import statement
[8, 20]: require statement not part of an import statement
[12, 17]: require statement not part of an import statement
[14, 17]: require statement not part of an import statement
[16, 16]: require statement not part of an import statement
[18, 20]: require statement not part of an import statement

 @ ./app/core/VueConfigurer.ts 30:15-53
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/studyMenu/studyMenu.ts
[15, 20]: require statement not part of an import statement
[17, 20]: require statement not part of an import statement
[21, 16]: require statement not part of an import statement
[22, 5]: require statement not part of an import statement

 @ ./app/core/VueConfigurer.ts 31:18-62
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/footer/branchesFooter.ts
[12, 20]: require statement not part of an import statement
[14, 20]: require statement not part of an import statement

 @ ./app/core/VueConfigurer.ts 32:23-69
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/proficiencySelector/proficiencySelector.ts
[5, 20]: require statement not part of an import statement
[7, 20]: require statement not part of an import statement
[11, 17]: require statement not part of an import statement
[13, 17]: require statement not part of an import statement
[15, 16]: require statement not part of an import statement
[17, 20]: require statement not part of an import statement

 @ ./app/core/VueConfigurer.ts 33:28-92
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/ebbinghaus/ebbinghaus.ts
[12, 31]: comment must start with a space
[13, 40]: comment must start with a space
[66, 1]: Exceeds maximum line length of 120
[88, 1]: Consecutive blank lines are forbidden
[3, 22]: require statement not part of an import statement
[14, 16]: require statement not part of an import statement
[16, 16]: require statement not part of an import statement
[24, 46]: missing whitespace
[45, 25]: missing whitespace
[48, 32]: missing whitespace
[51, 26]: missing whitespace
[54, 24]: missing whitespace
[59, 21]: missing whitespace
[65, 36]: missing whitespace
[71, 36]: missing whitespace
[81, 30]: missing whitespace
[69, 19]: " should be '
[37, 9]: Spaces before function parens are disallowed
[66, 53]: missing whitespace
[66, 66]: missing whitespace
[66, 72]: missing whitespace
[66, 78]: missing whitespace
[66, 91]: missing whitespace
[66, 104]: missing whitespace
[66, 117]: missing whitespace
[66, 123]: missing whitespace
[66, 129]: missing whitespace
[66, 149]: missing whitespace
[66, 155]: missing whitespace
[66, 161]: missing whitespace
[66, 167]: missing whitespace
[66, 173]: missing whitespace
[66, 179]: missing whitespace
[66, 185]: missing whitespace
[66, 191]: missing whitespace
[66, 197]: missing whitespace
[66, 210]: missing whitespace
[66, 223]: missing whitespace
[66, 229]: missing whitespace
[66, 235]: missing whitespace
[82, 29]: missing whitespace
[82, 33]: missing whitespace
[82, 37]: missing whitespace
[82, 41]: missing whitespace
[82, 45]: missing whitespace
[82, 49]: missing whitespace
[82, 53]: missing whitespace
[82, 57]: missing whitespace
[82, 61]: missing whitespace
[82, 65]: missing whitespace
[82, 69]: missing whitespace
[82, 73]: missing whitespace
[82, 77]: missing whitespace
[82, 81]: missing whitespace
[82, 85]: missing whitespace
[82, 89]: missing whitespace
[82, 93]: missing whitespace
[82, 97]: missing whitespace

 @ ./app/core/VueConfigurer.ts 34:19-65
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/coordinates/coordinates.ts
[98, 5]: if statements must be braced
[100, 5]: if statements must be braced
[3, 22]: require statement not part of an import statement
[103, 12]: " should be '
[103, 27]: " should be '
[103, 42]: " should be '

 @ ./app/core/VueConfigurer.ts 35:20-68
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/points/points.ts
[5, 20]: require statement not part of an import statement
[7, 20]: require statement not part of an import statement
[11, 16]: require statement not part of an import statement
[12, 5]: require statement not part of an import statement

 @ ./app/core/VueConfigurer.ts 36:15-53
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/mapChooser/mapChooser.ts
[6, 20]: require statement not part of an import statement
[6, 56]: require statement not part of an import statement
[9, 16]: require statement not part of an import statement
[10, 5]: require statement not part of an import statement
[6, 9]: Identifier 'register' is never reassigned; use 'const' instead of 'let'.
[2, 30]: " should be '

 @ ./app/core/VueConfigurer.ts 37:19-65
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/components/giveUsUrMonee/branches-stripe.ts
[26, 17]: Calls to 'console.log' are not allowed.
[31, 17]: Calls to 'console.log' are not allowed.
[35, 17]: Calls to 'console.log' are not allowed.
[37, 17]: Calls to 'console.log' are not allowed.
[38, 17]: Calls to 'console.log' are not allowed.
[47, 17]: Calls to 'console.error' are not allowed.
[52, 13]: Calls to 'console.log' are not allowed.
[5, 13]: require statement not part of an import statement
[5, 41]: require statement not part of an import statement
[9, 20]: require statement not part of an import statement
[9, 56]: require statement not part of an import statement
[12, 16]: require statement not part of an import statement
[12, 61]: require statement not part of an import statement
[9, 9]: Identifier 'register' is never reassigned; use 'const' instead of 'let'.
[5, 5]: Identifier 'axios' is never reassigned; use 'const' instead of 'let'.
[12, 5]: Identifier 'template' is never reassigned; use 'const' instead of 'let'.
[38, 29]: " should be '
[47, 31]: " should be '

 @ ./app/core/VueConfigurer.ts 40:24-78
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/loaders/user/UserDeserializer.ts
[40, 4]: The function convertUserDataFromDBToApp has a cyclomatic complexity of 15 which is higher than the threshold of 12
[11, 27]: " should be '
[12, 33]: " should be '

 @ ./app/loaders/user/UserLoader.ts 53:25-54
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/treeLocation/determineNewLocationUtils.ts
[10, 1]: Exceeds maximum line length of 120
[98, 1]: Exceeds maximum line length of 120
[149, 1]: Consecutive blank lines are forbidden

 @ ./app/objects/treeLocation/determineNewLocation.ts 2:34-72 3:34-72
 @ ./app/core/store.ts
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./~/ignore-styles/lib/ignore-styles.js
require.extensions is not supported by webpack. Use a loader instead.
 @ ./app/components/tree/tree.ts 25:19-43
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./~/ignore-styles/lib/ignore-styles.js
require.extensions is not supported by webpack. Use a loader instead.
 @ ./app/components/tree/tree.ts 25:19-43
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./~/ignore-styles/lib/ignore-styles.js
require.extensions is not supported by webpack. Use a loader instead.
 @ ./app/components/tree/tree.ts 25:19-43
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./~/ignore-styles/lib/ignore-styles.js
require.extensions is not supported by webpack. Use a loader instead.
 @ ./app/components/tree/tree.ts 25:19-43
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in ./app/objects/user/MutableSubscribableUser.ts
[14, 27]: " should be '

 @ ./app/objects/user/SyncableMutableSubscribableUser.ts 21:32-68
 @ ./app/loaders/user/UserDeserializer.ts
 @ ./app/loaders/user/UserLoader.ts
 @ ./inversify.config.ts
 @ ./app/core/bootstrap2.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./app/core/bootstrap2.ts

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (250 kB).
This can impact web performance.
Assets:
  build.js (4.71 MB)
  vendor.js (1.93 MB)
  regenerator.js (393 kB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (250 kB). This can impact web performance.
Entrypoints:
  regenerator (393 kB)
      regenerator.js
  build (4.71 MB)
      build.js
  vendor (1.93 MB)
      vendor.js

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
Warning: branches-stripe.less: line 17, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: main.less: line 8, col 39, importantRule: !important should not be used.
Warning: main.less: line 152, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: main.less: line 156, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: knawledgeMap.less: line 3, col 1, idSelector: Selectors should not use IDs.
Warning: newTree.less: line 4, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: newTree.less: line 7, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: newTree.less: line 10, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: signUp.less: line 5, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: points.less: line 11, col 2, finalNewline: Files should end with a newline.
Warning: tree.less: line 197, col 18, importantRule: !important should not be used.
Warning: tree.less: line 198, col 13, importantRule: !important should not be used.
Warning: tree.less: line 199, col 14, importantRule: !important should not be used.
Warning: tree.less: line 202, col 18, importantRule: !important should not be used.
Warning: coordinates.less: line 6, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: mapChooser.less: line 10, col 1, emptyRule: There shouldn't be any empty rules present.
Warning: mapChooser.less: line 10, col 1, newlineAfterBlock: All blocks should be followed by a new line.
Warning: mapChooser.less: line 11, col 2, finalNewline: Files should end with a newline.
AndrewVetovitz commented 6 years ago

Ill look into this.

AndrewVetovitz commented 6 years ago

46

@jonmseaman This pr fixes a lot of linting issues, but not all of them. Also, someone please test it before making the pr commit.

jonmseaman commented 6 years ago

Thanks. I'll check it out later today.