It should work both ways. /*eslint-disable max-len*/ /* eslint-disable max-len */
If it doesn't, please file an issue so we can fix it. -N On Thu, Jul 16, 2015 at 7:40 AM, Alberto Santini <[email protected]> wrote: > > Hello Folks. > > Here eslint 1.0.0-rc-1. > > I have the spaced-comment rule: > > spaced-comment: [2, "always", { exceptions: ["-"]}] > > And somewhere in the code: > > /*eslint-disable max-len */ > > Of course, I should write that line as (notice the leading space): > > /* eslint-disable max-len */ > > to remove the error. > > In the configuration doc the directive eslint is without the leading space > "/*eslint...". > > Any thought? > > Thanks, > 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.
