Closed vitaliytv closed 2 years ago
That's good, but we need to check if eslintConfig is present in json :)
Maybe some format like filename[text] ex: package.json[eslintConfig]
, and in the python code, detect when [
is present in a file name, and in that case :
This would be around here in the code -> https://github.com/megalinter/megalinter/blob/f687587ec8bccad9ffcce783932973453a465f82/megalinter/Linter.py#L250
Eslint can use config declared in package.json "eslintConfig"
https://eslint.org/docs/user-guide/configuring/