Created
October 6, 2016 07:07
-
-
Save davidosomething/1b6e06bc2d263547cd9a4ce4ac13214e to your computer and use it in GitHub Desktop.
tern-lint test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ecmaVersion": 6, | |
"libs": [ | |
"browser", | |
"jquery" | |
], | |
"loadEagerly": [ | |
"**/*.js" | |
], | |
"dontLoad": [ | |
"vendor/**/*.js" | |
], | |
"plugins": { | |
"commonjs": {}, | |
"complete_strings": { | |
"maxLength": 15 | |
}, | |
"doc_comment": { | |
"strong": true | |
}, | |
"modules": {} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f | wc -l # number of JS files in proj | |
124 | |
du -sh | |
836K . | |
time tern-lint --format=vim main.js > test.txt | |
tern-lint --format=vim main.js > test.txt 1.20s user 0.07s system 117% cpu 1.074 total | |
cat test.txt | |
... cropped ... | |
search/search.js:5488: warning: Unknown property 'posts' | |
search/search.js:5863: error: 'highlight' is not a function | |
sidebar/stickyWidgets.js:632: error: Invalid property at 1: $sidebar is not a property in Function.prototype | |
sidebar/stickyWidgets.js:650: error: Invalid property at 2: $ad is not a property in Function.prototype | |
sidebar/stickyWidgets.js:668: error: Invalid property at 3: $exit is not a property in Function.prototype | |
sidebar/stickyWidgets.js:892: error: Invalid property at 4: _isInitialized is not a property in Function.prototype | |
sidebar/stickyWidgets.js:1091: error: Invalid property at 5: _isExitable is not a property in Function.prototype | |
sidebar/stickyWidgets.js:1282: error: Invalid property at 6: FIXED_SECTION_OFFSET is not a property in Function.prototype |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment