I use this configuration for my personal projects that are built with different frameworks. The configuration is quite strict, so you may want to disable some rules in your project.
-
npm i -D @chernodub/eslint-config
- Add
@chernodub/eslint-config
toextends
of your eslint config (oroverrides
section)
- Very useful tool for querying AST via no-restricted-syntax - https://astexplorer.net/