Closed Vrakfall closed 8 years ago
Hey @Vrakfall
One way you can currently disable some rules is by adding comments that contain options for eslint (which is what check-source-formatting uses under the hood):
/* eslint-disable comma-dangle */
const myArray = [
'1',
'2', // <-- this line should stop showing warnings now
];
You can take a look at the various options here.
There is an upcoming version of check-source-formatting that will expand the API for passing configuration, so I'll take a look at integrating that when it is released. Thanks for the feedback!
So, is check-source-formatting
only relying on a custom set of eslint rules?
Because I have also linter-eslint
and then if it's true, I don't see the point of using both.
Hello,
Even tho I like this package a lot and the formatting it implies, I'd like to be able to disable some of the rules either I disagree with or I don't want to use.
Would it be possible, considering this is fetching the formatting from another repo?