Closed firede closed 6 years ago
I noticed that .eslintrc.js extends prettier rules.
.eslintrc.js
prettier
https://github.com/PhilWaldmann/openrecord/blob/f2eb0e8ad42919cc8bf88f9f064e991cce1b2c67/.eslintrc.js#L5-L8
But it doesn't seem to have the .prettierrc, this caused some extra spaces at the end of the line, e.g.
.prettierrc
https://github.com/PhilWaldmann/openrecord/blob/f2eb0e8ad42919cc8bf88f9f064e991cce1b2c67/lib/stores/sqlite3/autoload.js#L14
Add the missing .prettierrc configuration and a commit hook to format it, that would be nice 🌟
Thanks @firede
👍 @PhilWaldmann
There is a small problem:
https://github.com/PhilWaldmann/openrecord/blob/a104825faff093ae311951d9c18e1a4669792078/package.json#L42-L47
You probably need to move lint-staged to devDependencies.
lint-staged
devDependencies
@firede You are right, my fault!
fixed with 2.0.3
I noticed that
.eslintrc.js
extendsprettier
rules.https://github.com/PhilWaldmann/openrecord/blob/f2eb0e8ad42919cc8bf88f9f064e991cce1b2c67/.eslintrc.js#L5-L8
But it doesn't seem to have the
.prettierrc
, this caused some extra spaces at the end of the line, e.g.https://github.com/PhilWaldmann/openrecord/blob/f2eb0e8ad42919cc8bf88f9f064e991cce1b2c67/lib/stores/sqlite3/autoload.js#L14
Add the missing
.prettierrc
configuration and a commit hook to format it, that would be nice 🌟