jscs-dev/node-jscs

not possible to ignore '.js' files with fileExtensions #2273

graingert opened this issue · 0 comments

https://github.com/graingert/jscs-error
With only .es files included:

{
    "preset": "airbnb",
    "fileExtensions": ['.es']
}

JSCS still complains if .js files have errors:

$ npm install
$ ./node_modules/.bin/jscs src
Unexpected character '#' (3:4) at src/old.js :
     1 |sdlkfjhskldjads
     2 |asdf
     3 |asdf#
------------^
     4 |asdf
     5 |asdf


1 code style error found.