Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

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

Closed
graingert opened this issue Jun 20, 2016 · 0 comments
Closed

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

graingert opened this issue Jun 20, 2016 · 0 comments
Labels

Comments

@graingert
Copy link

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants