Skip to content

Instantly share code, notes, and snippets.

@loadx
Created November 26, 2013 22:25
Show Gist options
  • Save loadx/7667431 to your computer and use it in GitHub Desktop.
Save loadx/7667431 to your computer and use it in GitHub Desktop.
new jshint errors
No .jshintrc file
vagrant@web-and-db-ubuntu-1204:/fs/ember$ brunch b
.jshintrc parsing error: no such file or directory '/fs/ember/.jshintrc'. jshint will run with default options.
26 Nov 22:20:02 - error: Linting of 'app/app.js' failed. 'import' is only available in ES6 (use esnext option). (error) at line 1, column 1
'import' is only available in ES6 (use esnext option). (error) at line 2, column 1
'export' is only available in ES6 (use esnext option). (error) at line 25, column 1 ; Linting of 'app/router.js' failed. 'export' is only available in ES6 (use esnext option). (error) at line 7, column 1 ; Linting of 'app/models/brokers.js' failed. 'export' is only available in ES6 (use esnext option). (error) at line 14, column 1 ; Linting of 'app/routes/index.js' failed. 'import' is only available in ES6 (use esnext option). (error) at line 1, column 1
'export' is only available in ES6 (use esnext option). (error) at line 10, column 1
With .jshintrc but bad syntax
vagrant@web-and-db-ubuntu-1204:/fs/ember$ brunch b
26 Nov 22:24:46 - error: Linting of 'app/app.js' failed. Bad option: 'fake_option'. (error) at line 0, column 0 ; Linting of 'app/router.js' failed. Bad option: 'fake_option'. (error) at line 0, column 0 ; Linting of 'app/models/brokers.js' failed. Bad option: 'fake_option'. (error) at line 0, column 0 ; Linting of 'app/models/users.js' failed. Bad option: 'fake_option'. (error) at line 0, column 0 ; Linting of 'app/routes/index.js' failed. Bad option: 'fake_option'. (error) at line 0, column 0
@loadx
Copy link
Author

loadx commented Nov 26, 2013

vagrant@web-and-db-ubuntu-1204:/fs/ember$ brunch b

.jshintrc parsing error: SyntaxError: Unexpected token ,. jshint will run with default options.
26 Nov 22:41:11 - error: Linting of 'app/app.js' failed. 'import' is only available in ES6 (use esnext option). (error) at line 1, column 1
'import' is only available in ES6 (use esnext option). (error) at line 2, column 1
'export' is only available in ES6 (use esnext option). (error) at line 25, column 1 ; Linting of 'app/router.js' failed. 'export' is only available in ES6 (use esnext option). (error) at line 7, column 1 ; Linting of 'app/models/brokers.js' failed. 'export' is only available in ES6 (use esnext option). (error) at line 14, column 1 ; Linting of 'app/routes/index.js' failed. 'import' is only available in ES6 (use esnext option). (error) at line 1, column 1
'export' is only available in ES6 (use esnext option). (error) at line 10, column 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment