The first 2 is the severity (error). See http://eslint.org/docs/user-guide/configuring#configuring-rules
The second 2 is the number of spaces you want the indent to be. See http://eslint.org/docs/rules/indent#options On Thu, Jun 23, 2016 at 10:36 AM, Fergie <[email protected]> wrote: > We have an indent rule as follows in our .eslintrc file > > "rules": { > "indent": [ > 2, > 2] > > > but I can't figure out from the documentation what the second 2 means? Can > someone provide some insight? > > > Thanks, > > Fergie > > -- > 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.
