简体   繁体   中英

How to selectively enable eslint rules from eslint-config-airbnb

I would like to integrate eslint-config-airbnb into my application. but once i have it in, i got millions of errors.

is there a way to only enable a few rules. So that i can use some of the important ones, and update my code to turn on rules one by one in the future from eslint-config-airbnb?

You can configure the rules by changing the ".eslintrc.json" file.

Read more about configuration in the official documentation here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM