Commit Graph

6 Commits

Author SHA1 Message Date
DIYgod
1887bc1103 format 2018-05-29 22:58:21 +08:00
DIYgod
ff9b5e116f docs: add sponsor rixCloud 2018-05-24 22:11:05 +08:00
さくら
49de384d2e feat: add prettier and commit hooks (#144)
* feat: add prettier and commit hooks

* style(*): prettier format

* fix(eslint): parsing error: Unexpected token ...

* style(eslint): eslint --fix

* style(bilibili): fix `no-undef` and `no-unused-vars`

* style(jiandan): fix eqeqeq

* style(pixiv): disable `no-constant-condition` rule for eslint

* fix(pixiv): use template string

* style(toutiao): remove unused variables

* style(weibo): use `forEach` instead of `map`

The array has no return value, you should use `forEach` instead of `map`

* chore(hooks): add eslint hooks

* chore(hooks): switch from husky to yorkie

* style(zhihu): prettier format

* style(docs): fix vuepress custom container

https://vuepress.vuejs.org/guide/markdown.html#custom-containers

* chore(prettier): set a more reasonable `printWidth` value

* style(*): better prettier format
2018-05-17 10:52:29 +08:00
DIYgod
8c73be97ed docs: add sidebar 2018-05-16 00:20:50 +08:00
DIYgod
be3ce17401 docs: add thanks 2018-05-16 00:14:34 +08:00
DIYgod
7d9e38b466 use VuePress 2018-05-06 05:23:55 +08:00