Hi Alberto, All JSON files are ignored by default, so there's no need to include them in your .eslintignore file. ESLint can't work with JSON files (since they're not JavaScript).
There is an open issue for a --quiet flag: https://github.com/eslint/eslint/issues/905. That would hide the message as well (because it's a warning and not an error). -N On Sun, Jun 22, 2014 at 12:54 AM, Alberto Santini <[email protected]> wrote: > Hello. > > I added the line "*.json" (without quotes) to the file .eslintignore. > > If I execute, for instance, "eslint package.json", I get the message "File > ignored because of your .eslintignore file. Use --force to override" > > So far so well. :) > > Anyway I would prefer eslint exits without any message (and maybe exit > code zero). > > Any hint? > > Thanks in advance, > Alberto > > -- > You received this message because you are subscribed to the Google Groups > "ESLint" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- ______________________________ Nicholas C. Zakas @slicknet Author, Professional JavaScript for Web Developers Buy it at Amazon.com: http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3 -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
