Skip to content

Commit 3e1c43f

Browse files
authored
Merge pull request #12 from michael-ciniawsky/refactor
refactor(lib): remove module wrapper && minor cleanups
2 parents 488fb69 + aed12f3 commit 3e1c43f

27 files changed

+828
-2917
lines changed

.editorconfig

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
1-
# This file is for unifying the coding style for different editors and IDEs.
1+
# This file is for unifying the coding style for different editors and IDEs
22
# More information at http://EditorConfig.org
33

44
# No .editorconfig files above the root directory
55
root = true
66

77
[*]
88
charset = utf-8
9-
indent_size = 4
9+
indent_size = 2
1010
end_of_line = lf
1111
indent_style = space
1212
trim_trailing_whitespace = true
1313
insert_final_newline = true
1414

15-
[*.{bemjson.js,deps.js}]
16-
indent_size = 4
17-
1815
[{bower,package}.json]
1916
indent_size = 2
2017

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @voischev @GitScrum @mrmlnc @michael-ciniawsky

.github/ISSUE_TEMPLATE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
> ✏️ Briefly describe the issue you are experiencing (or the feature you want to see added to the plugin). Tell us what you were trying to do and what happened instead. Remember, this is _not_ a place to ask questions. For that, go to http://gitter.im/posthtml/posthtml
2+
3+
### `Details`
4+
5+
> ✏️ Describe in more detail the problem you have been experiencing, if necessary.
6+
7+
## `Error (Logs|Stacks)`
8+
9+
> 👉 Create a [gist](https://gist.github.com) which is a paste of your **full** logs, and link them here.
10+
11+
> ⚠️ Do **not** paste your full logs here (or at least hide them by using a `<details></details>` block), as it will make this issue long and hard to read! If you are reporting a bug, **always** include logs!
12+
13+
### `Reproduction (Code)`
14+
15+
> ⚠️ Please remember that, with sample code; it's easier to reproduce a bug and much faster to fix it.
16+
17+
> 🔗 Please refer to a simple code example.
18+
19+
```bash
20+
$ git clone https://github.com/<user>/<sample>
21+
```
22+
23+
### `Environment`
24+
25+
> ℹ️ Please provide information about your current environment.
26+
27+
|OS|node|npm/yarn|package|
28+
|:-:|:--:|:-:|:------:|
29+
|[name][version]|[version]|[version]|[version]|

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
### `Notable Changes`
2+
3+
> ✏️ Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue down below.
4+
5+
#### `Commit Message Summary (CHANGELOG)`
6+
7+
```
8+
commit message body...
9+
```
10+
11+
### `Type`
12+
13+
> ℹ️ What types of changes does your code introduce?
14+
15+
> 👉 _Put an `x` in the boxes that apply and delete all others_
16+
17+
- [ ] CI
18+
- [ ] Fix
19+
- [ ] Perf
20+
- [ ] Docs
21+
- [ ] Test
22+
- [ ] Chore
23+
- [ ] Style
24+
- [ ] Build
25+
- [ ] Feature
26+
- [ ] Refactor
27+
28+
### `SemVer`
29+
30+
> ℹ️ What changes to the current `semver` range does your PR introduce?
31+
32+
> 👉 _Put an `x` in the boxes that apply and delete all others_
33+
34+
- [ ] Fix (:label: Patch)
35+
- [ ] Feature (:label: Minor)
36+
- [ ] Breaking Change (:label: Major)
37+
38+
### `Issues`
39+
40+
> ℹ️ What issue(s) (if any) are closed by your PR?
41+
42+
> 👉 _Replace `#1` with the issue number that applies and remove the ``` ` ```_
43+
44+
- Fixes `#1`
45+
46+
### `Checklist`
47+
48+
> ℹ️ You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. This is a reminder of what we are going to look for before merging your code.
49+
50+
> 👉 _Put an `x` in the boxes that apply and delete all others._
51+
52+
- [ ] Lint and unit tests pass with my changes
53+
- [ ] I have added tests that prove my fix is effective/works
54+
- [ ] I have added necessary documentation (if appropriate)
55+
- [ ] Any dependent changes are merged and published in downstream modules

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# OS
2-
.DS_Store
2+
33
._*
4+
.DS_Store
45

56
# NODEJS
7+
8+
npm-debug.log
69
node_modules
710
npm-debug.log
811

12+
.nyc_output
913
coverage

.jscsrc

Lines changed: 0 additions & 61 deletions
This file was deleted.

.jshintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.jshintrc

Lines changed: 0 additions & 14 deletions
This file was deleted.

.npmignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
node_modules/
2-
test/
3-
npm-debug.log
41
.editorconfig
5-
.jscsrc
6-
.jshintignore
7-
.jshintrc
2+
npm-debug.log
3+
4+
.nyc_output
5+
test/
6+
coverage/
7+
node_modules/

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

0 commit comments

Comments
 (0)