jscs-dev / node-jscs

:arrow_heading_up: JavaScript Code Style checker (unmaintained)
https://jscs-dev.github.io
MIT License
4.96k stars 510 forks source link

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

Closed graingert closed 8 years ago

graingert commented 8 years ago

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.