Skip to content

Commit

Permalink
chore: add lauguage grading
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jan 2, 2020
1 parent bcd3ed6 commit 1c8e33c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -6,14 +6,15 @@

[![Status](https://img.shields.io/github/workflow/status/koishijs/koishi/CI/master?style=flat-square)](https://github.com/koishijs/koishi/actions?query=workflow:CI)
[![Codecov](https://img.shields.io/codecov/c/github/koishijs/koishi?style=flat-square)](https://codecov.io/gh/koishijs/koishi)
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/koishijs/koishi.svg?style=flat-square)](https://lgtm.com/projects/g/koishijs/koishi/context:javascript)
[![npm](https://img.shields.io/npm/v/koishi?style=flat-square)](https://www.npmjs.com/package/koishi)
[![GitHub](https://img.shields.io/github/license/koishijs/koishi?style=flat-square)](https://github.com/koishijs/koishi/blob/master/LICENSE)

</div>

Koishi 是一个在 [Node.js](https://nodejs.org/) 环境下运行,基于 [CoolQ](https://cqp.cc)[CQHTTP](https://cqhttp.cc) 的 QQ 机器人框架。

它的名字和图标来源于东方 Project 中的角色古明地恋(Komeiji Koishi)。
这个项目的名字和图标来源于东方 Project 中的角色古明地恋(Komeiji Koishi)。

## 特性

Expand Down
2 changes: 1 addition & 1 deletion packages/database-mysql/src/group.ts
@@ -1,4 +1,4 @@
import { contain, observe, difference, Observed } from 'koishi-utils'
import { contain, observe, difference } from 'koishi-utils'
import { getSelfIds, injectMethods, GroupData, createGroup, groupFields, GroupField, Group } from 'koishi-core'

declare module './database' {
Expand Down
2 changes: 1 addition & 1 deletion packages/koishi-utils/src/cqCode.ts
Expand Up @@ -16,10 +16,10 @@ namespace CQCode {

export function unescape (source: string) {
return String(source)
.replace(/&amp;/g, '&')
.replace(/&#91;/g, '[')
.replace(/&#93;/g, ']')
.replace(/&#44;/g, ',')
.replace(/&amp;/g, '&')
}

export function stringify (type: string, data: Record<string, any>) {
Expand Down
1 change: 0 additions & 1 deletion packages/plugin-teach/package.json
Expand Up @@ -35,7 +35,6 @@
"koishi-database-mysql": "^1.0.1"
},
"dependencies": {
"fast-deep-equal": "^3.1.1",
"koishi-core": "^1.0.1",
"koishi-utils": "^1.0.0"
}
Expand Down
1 change: 0 additions & 1 deletion packages/plugin-teach/src/database.ts
@@ -1,5 +1,4 @@
import { injectMethods } from 'koishi-core'
import deepEqual from 'fast-deep-equal'
import {} from 'koishi-database-mysql'
import {} from 'koishi-database-level'

Expand Down

0 comments on commit 1c8e33c

Please sign in to comment.