opensource
opensource copied to clipboard
added prettier and eslint config to enforce code-style
-
Added prettier and eslint config to enforce a consistent code-style and prevent IDE auto formatting.
-
Had install errors with node-sass and gyp that were fixed by deleting package-lock.json and node_modules and reinstalling package.json.
A small suggestion to keep package.json
clean would be to move the lint and prettier rules to .eslintrc
and .prettierrc
files respectively ... what do you think?