From cbb24211b6c799867f6f4a5f52e4187a7a338534 Mon Sep 17 00:00:00 2001 From: anikethsaha Date: Fri, 14 Feb 2020 20:20:20 +0530 Subject: [PATCH] chore: documented __colon__ tip --- .vscode/settings.json | 3 +-- docs/configuration.md | 2 ++ package.json | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 9bf4d12b5..65a196532 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,3 @@ { - "editor.defaultFormatter": "esbenp.prettier-vscode", - "editor.formatOnSave": true + "editor.defaultFormatter": "esbenp.prettier-vscode" } diff --git a/docs/configuration.md b/docs/configuration.md index 77a0ed0ae..d5d3ac0c9 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -369,6 +369,8 @@ window.$docsify = { }; ``` +?> If this options is `false` but you dont want to emojify some specific colons , [Refer this](https://github.com/docsifyjs/docsify/issues/742#issuecomment-586313143) + ## mergeNavbar - type: `Boolean` diff --git a/package.json b/package.json index a7b79c863..1837c1728 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "dev": "run-p serve watch:*", "dev:ssr": "run-p serve:ssr watch:*", "lint": "eslint .", - "fixlint" : "eslint . --fix", + "fixlint": "eslint . --fix", "test": "mocha ./test/**/*.test.js", "testServer": "node cypress/setup.js", "test:e2e": "start-server-and-test testServer http://localhost:3000 cy:run", @@ -55,7 +55,7 @@ }, "lint-staged": { "*.js": [ - "npm run lint", + "npm run fixlint", "git add" ] },