Navy's Blog

hexo

Home Archives
2018-09-07

什么是幸福?

我8点出门上班,你好幸福啊!

Share
2018-09-04

Eslint规则应用

对于eslint报错,简单是使用ctrl+s便可自动修复,不必没个错误逐个修改

  • webstrom 配置eslint 自动修复错误
  • vscode代码保存时自动格式化成ESLint风格

在修改eslint规则文件后,执行 npm run lint 后可修复eslint错误提示,lint命令使用了--fix参数,命令有局限性,可能不会修复全部错误,具体可修复的查看ESLint 带小扳手的就是可修复项目

Share
2018-09-03

测试

测试

  • 1
  • asd
Share
2018-09-03

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

Share

Archives

  • September 2018

Recent Posts

  • 什么是幸福?
  • Eslint规则应用
  • 测试
  • Hello World
© 2018 Navy Dong
Powered by Hexo
Home Archives