Closed clayrisser closed 6 years ago
There is also an eslint plugin https://github.com/prettier/eslint-plugin-prettier although the project only contains cpp linting now
i'd be keen to add eslint with the plugin to be honest. @jamrizzi would you like to update this PR to add eslint with the prettier plugin (as well as npm script for linting js code).
I’ll add eslint, but that doesn’t replace prettier. Many JavaScript developers are using it now, and without prettierrc single quotes will get replaced by double quotes.
Yeah I just meant add eslint with the prettier plugin. The plugin uses your eslint config to auto fix linter errors. If you eslint config specifies a specific quote style (I.e single quotes) then when you run “eslint --fix” it will use prettier to fix the code.
On Sun, 11 Feb 2018 at 1:21 pm, Jam Risser notifications@github.com wrote:
Closed #17 https://github.com/Place1/node-gir/pull/17.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Place1/node-gir/pull/17#event-1468257266, or mute the thread https://github.com/notifications/unsubscribe-auth/ALMBlnoyx5zTTxUQPZKRBl5S6_bA_hf2ks5tTk60gaJpZM4SA9Sf .
I created a new issue for eslint. I’ll add it tomorrow. #23
This fixes issue #16