A quick overview of ESLint Configuration Comments
Too Long; Didn't Read
A quick overview of the types of ESLint comments, their format, and how to use them in your JavaScript. In general, it is best to use a configuration file, such as.eslintrc. Configuration files are powerful, and should be the go-to choice for enforcing ESLint rules. The ESLint documentation details both comments and configuration files, but not separately. The format differs between the two, yet the documentation presents them in conjunction with each other, making the comment formats a little hard to find in and of their own.