next.js comes with its own CLI for linting your code,
next lint, which is basically a preconfigured wrapper around eslint.
What the documentation doesn't tell you though is whether this wrapper accepts the same command line options as eslint. The short answer is: it doesn't. At least not all of them, but a whole lot more than the only one documented by next.js' sparse documentation for this command, the
I found out about this only via this GitHub issue. It links to this file on GitHub, which contains a comment with the full list of supported options
The exact list and place might change in the future, but it should pretty much always stay in that file, which is where you will find the most recent version of the list. Still, for convenience's sake, here's the list as of 2021/07/07: