Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit2e3a131

Browse files
committed
refactor: add groupher eslint & commit lint
1 parent0658eff commit2e3a131

File tree

4 files changed

+2641
-3736
lines changed

4 files changed

+2641
-3736
lines changed

‎.eslintrc.js‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
module.exports={
22
extends:['@groupher/eslint-config-web'],
3-
rules:{
4-
'import/order':0,
5-
},
63
}

‎commitlint.config.js‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports={
2+
rules:{
3+
'body-leading-blank':[1,'always'],
4+
'footer-leading-blank':[1,'always'],
5+
'header-max-length':[2,'always',72],
6+
'scope-case':[0],
7+
'subject-case':[0],
8+
'subject-empty':[2,'never'],
9+
'subject-full-stop':[2,'never','.'],
10+
'type-case':[2,'always','lower-case'],
11+
'type-empty':[2,'never'],
12+
'type-enum':[
13+
2,
14+
'always',
15+
[
16+
'build',
17+
'chore',
18+
'ci',
19+
'docs',
20+
'feat',
21+
'fix',
22+
'perf',
23+
'refactor',
24+
'revert',
25+
'style',
26+
'test',
27+
],
28+
],
29+
},
30+
}

‎package.json‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"analyze":"cross-env ANALYZE=1 next build",
2727
"test":"cross-env NODE_ENV=test GOAL=test jest --config .jest.config.js",
2828
"test:dev":"cross-env NODE_ENV=dev GOAL=test jest --config .jest.config.js",
29-
"test:watch":"npm run test -- --watch",
3029
"test:cover":"npm run test -- --coverage",
3130
"test:e2e":"cypress open",
3231
"coveralls":"cat ./coverage/lcov.info | coveralls",
@@ -115,7 +114,7 @@
115114
"@babel/plugin-proposal-decorators":"^7.1.0",
116115
"@commitlint/cli":"^7.0.0",
117116
"@commitlint/config-conventional":"^7.0.1",
118-
"@groupher/eslint-config-web":"^1.1.2",
117+
"@groupher/eslint-config-web":"^1.2.0",
119118
"babel-core":"^7.0.0-bridge.0",
120119
"babel-eslint":"9.0.0",
121120
"babel-jest":"^23.6.0",
@@ -138,7 +137,6 @@
138137
"enzyme-to-json":"^3.3.4",
139138
"eslint":"5.6.0",
140139
"eslint-plugin-prettier":"2.6.2",
141-
"eslint-watch":"4.0.2",
142140
"husky":"2.1.0",
143141
"jest":"23.4.2",
144142
"lint-staged":"7.2.0",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp