eslint apply custom rule only on a specific directory

– no way of doing this currently
– include the .eslintrc file in each directory you want it with those specific rules
– then put this around blocks of code
/* eslint disable */
/* eslint enable */
– or on lines of code
// eslint-disable-line console-saas-rules/sinon-global-checker
Fullstack4u.com shares web development tips for full stack web technologies and is helping share the passion to web developers worldwide.

Leave a Reply

Your email address will not be published. Required fields are marked *