You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
style: Add prettier, fix eslint configuration and prettify all files (lint-staged#231)
* chore(eslint): list `coverage` dir in `.eslintignore`
The files in this directory shouldn't be checked by ESLint
* chore(eslint): fix inconcistencies
The problem are mainly caused by `tabWidth`:
* The default is '2', not overridden by eslint-config-okonet
* In this project's eslintrc we override it in `indent` rule
which of course will fight with `prettier` default.
* Also deleted some unnecessary overrides in `prettier` field
because they're already the default out of the box
* chore(eslint): rename `.eslintrc` to be `.eslintrc.json`
This will make IDE applies proper syntax highlighting
* style: run `lint:fix` script
* chore: run `lint` script before `test`
* Revert "chore(eslint): fix inconcistencies"
This reverts commit 1fb420c.
* chore(eslint): remove `indent` rule
* style: run `lint:fix` script
* chore(editorconfig): update `indent_size`
* ci: run installation with npm v3 and above
* chore: install `prettier`
pin to v1.5.3
0 commit comments