Feat(eslint): Introduce ultimate ESLint configuration#37
Feat(eslint): Introduce ultimate ESLint configuration#37
Conversation
* integration of base eslint rules and prettier
|
There is and an incompatibility between eslint and prettier. We want to tell prettier not to format javascript files but we do not want to ignore them. If I ignore javascript files using However we want to format with prettier other files like markdown docs and readmes. Possible solution is to enumerate file extensions which we want to format in script definition in I am also suggesting that we should define different printWidth for different filetype, eg. 120 is fine for files like markdown, maybe html, but 80 is better for javascript, typescript and json. For some files may be better to use 100. I think that 120 do not suit for everything. |
In future this will be the main config used with most of the configuration and presets like React and Typescript.