Skip to content

Commit b910fb5

Browse files
committed
test: lint
1 parent a69ebd4 commit b910fb5

File tree

91 files changed

+2905
-2738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+2905
-2738
lines changed

.eslintrc.js

+23-26
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
1-
module.exports = {
2-
env: {
3-
browser: true,
4-
commonjs: true,
5-
es2021: true,
6-
},
7-
extends: 'airbnb-base',
8-
overrides: [
9-
{
10-
env: {
11-
node: true,
12-
},
13-
files: [
14-
'.eslintrc.{js,cjs}',
15-
],
16-
parserOptions: {
17-
sourceType: 'script',
18-
},
19-
},
20-
],
21-
parserOptions: {
22-
ecmaVersion: 'latest',
23-
},
24-
rules: {
25-
},
26-
};
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
commonjs: true,
5+
es2021: true
6+
},
7+
extends: 'airbnb-base',
8+
overrides: [
9+
{
10+
env: {
11+
node: true
12+
},
13+
files: ['.eslintrc.{js,cjs}'],
14+
parserOptions: {
15+
sourceType: 'script'
16+
}
17+
}
18+
],
19+
parserOptions: {
20+
ecmaVersion: 'latest'
21+
},
22+
rules: {}
23+
}

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
yarn lint && yarn format
4+
npm lint && npm format

CHANGELOG.md

+34-34
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
# CHANGELOG
2-
3-
## 1.0.4 release
4-
5-
### Fixes
6-
7-
- fix the bug cannot create question
8-
9-
## 1.0.3 release
10-
11-
### Features
12-
13-
- you can create question in any supported language file
14-
- the file name from 'index' to 'question'
15-
16-
## 1.0.2 release
17-
18-
### Features
19-
20-
- add i18n docs
21-
22-
## 1.0.1 release
23-
24-
### Features
25-
26-
- add `author` info and `repository` in package.json
27-
28-
## 1.0.0 release
29-
30-
### Features
31-
32-
- cli: lk/lf/lc 脚本实现 检测/查找/创建 功能,强而有力地支持了题目的便捷创建.
33-
- template project: easy mode 实现交互性创建,leet-create和leet-check保持src目录下创建题解.
34-
- plugin: 插件化的设计完善,进行立项.
1+
# CHANGELOG
2+
3+
## 1.0.4 release
4+
5+
### Fixes
6+
7+
- fix the bug cannot create question
8+
9+
## 1.0.3 release
10+
11+
### Features
12+
13+
- you can create question in any supported language file
14+
- the file name from 'index' to 'question'
15+
16+
## 1.0.2 release
17+
18+
### Features
19+
20+
- add i18n docs
21+
22+
## 1.0.1 release
23+
24+
### Features
25+
26+
- add `author` info and `repository` in package.json
27+
28+
## 1.0.0 release
29+
30+
### Features
31+
32+
- cli: lk/lf/lc 脚本实现 检测/查找/创建 功能,强而有力地支持了题目的便捷创建.
33+
- template project: easy mode 实现交互性创建,leet-create和leet-check保持src目录下创建题解.
34+
- plugin: 插件化的设计完善,进行立项.

0 commit comments

Comments
 (0)