gsoft-inc / sg-web-configs

Common configurations for building web apps at ShareGate
Apache License 2.0
2 stars 0 forks source link

❗ Improve Eslint Documentation #20

Closed alexasselin008 closed 1 year ago

alexasselin008 commented 1 year ago

Description

The documentation is hard to consume for user. The doc should offers scenario to better show the users how to use it.

ex: Javascript only project React project Typescript

It is not clear at the moment if a user needs "extends": [ "plugin:@sharegate/core", "plugin:@sharegate/typescript", "plugin:@sharegate/react" ] or "extends": [ "plugin:@sharegate/typescript", ]

It is also not clear if the and if the typescript-eslint/parser is included or not

alexasselin008 commented 1 year ago

There is some issues when installing the react config at the root of a mono repo. Since it automatically tries to detect the React version associated with the project, its throws warning since react is not installed at the root.