Skip to content

Instantly share code, notes, and snippets.

@samccone
Created May 10, 2015 19:14
Show Gist options
  • Save samccone/b22a610e881ceb2be7d4 to your computer and use it in GitHub Desktop.
Save samccone/b22a610e881ceb2be7d4 to your computer and use it in GitHub Desktop.
> @ lint /Users/sam/Desktop/repos/todomvc/tooling
> jscs -c ../.jscsrc ../examples/webrx/
Illegal trailing whitespace at ../examples/webrx/Gruntfile.js :
1 |module.exports = function (grunt) {
2 | 'use strict';
3 |
---------^
4 | var conf = {
5 | connect: {
Illegal trailing whitespace at ../examples/webrx/Gruntfile.js :
12 | }
13 | };
14 |
---------^
15 | grunt.initConfig(conf);
16 |
Illegal trailing whitespace at ../examples/webrx/Gruntfile.js :
14 |
15 | grunt.initConfig(conf);
16 |
---------^
17 | grunt.loadNpmTasks("grunt-contrib-connect");
18 |
Invalid quote mark found at ../examples/webrx/Gruntfile.js :
15 | grunt.initConfig(conf);
16 |
17 | grunt.loadNpmTasks("grunt-contrib-connect");
----------------------------^
18 |
19 | grunt.registerTask("default", ["connect"]);
Illegal trailing whitespace at ../examples/webrx/Gruntfile.js :
16 |
17 | grunt.loadNpmTasks("grunt-contrib-connect");
18 |
---------^
19 | grunt.registerTask("default", ["connect"]);
20 |}
Invalid quote mark found at ../examples/webrx/Gruntfile.js :
17 | grunt.loadNpmTasks("grunt-contrib-connect");
18 |
19 | grunt.registerTask("default", ["connect"]);
----------------------------^
20 |}
21 |
Invalid quote mark found at ../examples/webrx/Gruntfile.js :
17 | grunt.loadNpmTasks("grunt-contrib-connect");
18 |
19 | grunt.registerTask("default", ["connect"]);
----------------------------------------^
20 |}
21 |
Illegal trailing whitespace at ../examples/webrx/js/app.js :
2 |(function () {
3 | 'use strict';
4 |
---------^
5 | var localStorageKey = 'todos-webrx';
6 | var displayModeAll = 'all';
Expected indentation of 4 characters at ../examples/webrx/js/app.js :
150 | localStorage.setItem(localStorageKey, JSON.stringify(this.todos.map(function (x) {
151 | return { title: x.title(), completed: x.completed() };
152 | })));
------------^
153 | }, this);
154 | };
Expected indentation of 3 characters at ../examples/webrx/js/app.js :
151 | return { title: x.title(), completed: x.completed() };
152 | })));
153 | }, this);
-----------^
154 | };
155 |
10 code style errors found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment