Manuel Lopez

Results 30 comments of Manuel Lopez

Reopening before I forget. @PhiLhoSoft I'm not sure what the error message should be. Can you do a check with `eslint` to see what it gives you? should it just...

Can you give a simple example where this is failing? The code is trying to emulate the eslint rule and I think they cover support for jsx code. At the...

That is correct and unfortunately that is what the ESlint docs say: > "ignoreStrings": true ignores lines that contain a double-quoted or single-quoted string I'm surprised no one has said...

So it seems that you want something like #181.

If the source file has the name of the file perhaps you can read it yourself instead?

Isn't there a way to just read a certain amount of bytes from a file? https://stackoverflow.com/questions/30096691/read-a-file-one-character-at-a-time-in-node-js In this case I think you only care about the first byte which was...

Perhaps you could open up an issue and see if they would add this flag for you, in the past they had issues with this it seems: https://github.com/Microsoft/TypeScript/issues/8087 If this...

Well, seems like you'll have to do https://github.com/palantir/tslint/blob/master/src/rules/encodingRule.ts, but on second though, doesn't that rule do what you need to the eslint `unicode-bom`? Maybe we'll just need to document it...

@blakeembrey What's the configuration and errors you are using with the code? It could be, I'm gonna say the rule is complaining on `{ returnChanges: 'always' }` parameter?

I've been using https://palantir.github.io/tslint/rules/trailing-comma/, and this is how I have configured it so that it can achieve the same style as airbnb. ``` "trailing-comma": [ true, { "multiline": "always", "singleline":...