Skip to content

Commit f7d686f

Browse files
committed
feat: add draft pr support, add eslint
1 parent 08f2936 commit f7d686f

21 files changed

+1067
-100
lines changed

.eslintrc.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"es6": true
5+
},
6+
"extends": "eslint:recommended",
7+
"globals": {
8+
"Atomics": "readonly",
9+
"SharedArrayBuffer": "readonly",
10+
"$": true,
11+
"Mustache": true,
12+
"browser": true
13+
},
14+
"parserOptions": {
15+
"ecmaVersion": 2018
16+
},
17+
"rules": {
18+
"no-fallthrough": 0
19+
}
20+
};

demo/dist/demo.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/dist/demo.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/chrome/hovercard.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,9 @@
567567
.ghh .ghh-state-merged {
568568
background-color: #6f42c1;
569569
}
570+
.ghh .ghh-state-draft {
571+
background-color: #6a737d;
572+
}
570573
.ghh .ghh-state .octicon {
571574
margin-right: 4px;
572575
vertical-align: -3px;

extensions/chrome/hovercard.js

Lines changed: 24 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/edge/hovercard.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,9 @@
567567
.ghh .ghh-state-merged {
568568
background-color: #6f42c1;
569569
}
570+
.ghh .ghh-state-draft {
571+
background-color: #6a737d;
572+
}
570573
.ghh .ghh-state .octicon {
571574
margin-right: 4px;
572575
vertical-align: -3px;

extensions/edge/hovercard.js

Lines changed: 24 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/firefox/hovercard.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,9 @@
567567
.ghh .ghh-state-merged {
568568
background-color: #6f42c1;
569569
}
570+
.ghh .ghh-state-draft {
571+
background-color: #6a737d;
572+
}
570573
.ghh .ghh-state .octicon {
571574
margin-right: 4px;
572575
vertical-align: -3px;

0 commit comments

Comments
 (0)