Skip to content

Commit aba3249

Browse files
committedMay 18, 2020
fix: add prettier and eslint (#388)
* add eslintrc * eslint and prettier all files * fix: replace by npm script * fix: prettify more files * fixes based on review
1 parent 5bd40fb commit aba3249

File tree

97 files changed

+4042
-3246
lines changed

Some content is hidden

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

97 files changed

+4042
-3246
lines changed
 

‎.eslintrc.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
3+
env: {
4+
browser: true,
5+
amd: true,
6+
node: true,
7+
mocha: true,
8+
},
9+
parserOptions: {
10+
ecmaVersion: 6,
11+
sourceType: 'module',
12+
},
13+
}

‎.github/ISSUE_TEMPLATE/bug_report.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
54
---
65

76
**Describe the bug**
87
A clear and concise description of what the bug is.
98

109
**To Reproduce**
1110
Steps to reproduce the behavior:
11+
1212
1. Go to '...'
1313
2. Click on '....'
1414
3. Scroll down to '....'
@@ -21,15 +21,17 @@ A clear and concise description of what you expected to happen.
2121
If applicable, add screenshots to help explain your problem.
2222

2323
**Desktop (please complete the following information):**
24-
- OS: [e.g. iOS]
25-
- Browser [e.g. chrome, safari]
26-
- Version [e.g. 22]
24+
25+
- OS: [e.g. iOS]
26+
- Browser [e.g. chrome, safari]
27+
- Version [e.g. 22]
2728

2829
**Smartphone (please complete the following information):**
29-
- Device: [e.g. iPhone6]
30-
- OS: [e.g. iOS8.1]
31-
- Browser [e.g. stock browser, safari]
32-
- Version [e.g. 22]
30+
31+
- Device: [e.g. iPhone6]
32+
- OS: [e.g. iOS8.1]
33+
- Browser [e.g. stock browser, safari]
34+
- Version [e.g. 22]
3335

3436
**Additional context**
3537
Add any other context about the problem here.

0 commit comments

Comments
 (0)
Please sign in to comment.