javascriptlint icon indicating copy to clipboard operation
javascriptlint copied to clipboard

JavaScript Lint

Results 9 javascriptlint issues
Sort by recently updated
recently updated
newest added

Error: ``` gcc -arch x86_64 -fno-strict-aliasing -O -fPIC -shared -lpython2.7 build/nodepos.o build/pyspidermonkey.o -L/opt/pkg/lib -Lspidermonkey/src/build -ljs -o build/pyspidermonkey.so ld: warning: ignoring file /opt/pkg/lib/libpython2.7.dylib, building for macOS-x86_64 but attempting to link with...

Error: ``` ld: cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.tbd for architecture x86_64 ``` Recommendation from Apple is to use your own python.

With this file: ``` #! /usr/bin/env node function foo() { return ['a', 'b'] } [v1, v2] = foo(); console.log([v1, v2]) ``` jsl fails miserably ``` $ PYTHONPATH=.:build ./javascriptlint/jsl fail JavaScript...

`javascriptlint` segfaults on the following file: ```javascript function a(err, data, data) { return data; } ``` On SmartOS with Python 2.6: ```shell % build/install/jsl foo.js JavaScript Lint Developed by Matthias...

The version of javascriptlint in master right now treats "InternalError" as one of the built-in globals, similar to RangeError or TypeError: https://github.com/davepacheco/javascriptlint/blob/040bf5e429969ae42d976b570fd64c9e17fab20f/javascriptlint/lint.py#L30 This appears to be a non-standard class used...

The string `'use strict'` on its own line causes part of the program to enter into [strict mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode), and changes the semantics of some operations (usually making more things throw...

_Code example:_ ``` var loadData = function (event, context) { if (context && context.hasActionChanged()) { return; }}; } ``` _Actual result:_ jsLint gives erroneous warning for the first argument of...

I use JSL with Emacs flymake, and when you start writing a control comment and the check is triggered before the comment is complete, the linter exits with a traceback:...

## Error Message ld -shared build/nodepos.o build/pyspidermonkey.o -Lspidermonkey/src/build -ljs -o build/pyspidermonkey.so ld: spidermonkey/src/build/libjs.a(jsapi.o): relocation R_X86_64_32S against `js_XMLObjectOps' can not be used when making a shared object; recompile with -fPIC spidermonkey/src/build/libjs.a:...