Skip to content

Commit c884255

Browse files
committed
docs: update md files + add travis
1 parent 097e335 commit c884255

File tree

10 files changed

+181
-12
lines changed

10 files changed

+181
-12
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior:
12+
1. Go to '...'
13+
2. Click on '....'
14+
3. Scroll down to '....'
15+
4. See error
16+
17+
**Expected behavior**
18+
A clear and concise description of what you expected to happen.
19+
20+
**Screenshots**
21+
If applicable, add screenshots to help explain your problem.
22+
23+
**Desktop (please complete the following information):**
24+
- OS: [e.g. iOS]
25+
- Browser [e.g. chrome, safari]
26+
- Version [e.g. 22]
27+
28+
**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]
33+
34+
**Additional context**
35+
Add any other context about the problem here.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
A clear and concise description of any alternative solutions or features you've considered.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
**Fixes**: #
2+
3+
🚨 Please review the [guidelines for contributing](./CONTRIBUTING.md) and our [code of conduct](./CODE_OF_CONDUCT.md) to this repository. 🚨
4+
**Please complete these steps and check these boxes (by putting an x inside the brackets) before filing your PR:**
5+
6+
- [ ] Check the commit's or even all commits' message styles matches our requested structure.
7+
- [ ] Check your code additions will fail neither code linting checks nor unit test.
8+
9+
#### Short description of what this resolves:
10+
11+
#### Proposed changes:
12+
13+
## -
14+
15+
-
16+
17+
👍 Thank you!

.gitignore

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
1-
.idea
2-
node_modules
1+
.DS_Store
2+
node_modules/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
test/unit/coverage
7+
test/e2e/reports
8+
selenium-debug.log
9+
dist/
10+
.tmp/
311
coverage
4-
test/output
5-
.nyc_output
12+
.nyc_output
13+
14+
# Editor directories and files
15+
.idea
16+
.vscode
17+
*.suo
18+
*.ntvs*
19+
*.njsproj
20+
*.sln

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ node_js:
1010
notifications:
1111
email: false
1212
install:
13+
- npm install -g codecov
1314
- npm install
14-
script:
15-
- npm test
1615
after_success:
1716
- npm run codecov
17+
branches:
18+
only:
19+
- master
20+
- /^greenkeeper/.*$/
21+
except:
22+
- /^v\d+\.\d+\.\d+$/

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
- Using welcoming and inclusive language
12+
- Being respectful of differing viewpoints and experiences
13+
- Gracefully accepting constructive criticism
14+
- Focusing on what is best for the community
15+
- Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
- Trolling, insulting/derogatory comments, and personal or political attacks
21+
- Public or private harassment
22+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
- Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at thedaviddias@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: https://contributor-covenant.org
46+
[version]: https://contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Contribute
2+
3+
## Introduction
4+
5+
First, thank you for considering contributing to HTMLHint! It's people like you that make the open source community such a great community! 😊
6+
7+
We welcome any type of contribution, not only code. You can help with
8+
- **QA**: file bug reports, the more details you can give the better (e.g. screenshots with the console open)
9+
- **Marketing**: writing blog posts, howto's, printing stickers, ...
10+
- **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
11+
- **Code**: take a look at the [open issues](https://github.com/htmlhint/htmlhint-loader/issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
12+
13+
## Your First Contribution
14+
15+
Working on your first Pull Request? You can learn how from this *free* series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
16+
17+
## Submitting code
18+
19+
Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. The pull request should also contain tests.
20+
21+
## Code review process
22+
23+
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge.
24+
It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you?
25+
26+
## Questions
27+
28+
If you have any questions, create an [issue](issue) (protip: do a quick search first to see if someone else didn't ask the same question before!).
29+
You can also reach us at htmlhint@gmail.com.
30+
31+
<!-- This `CONTRIBUTING.md` is based on @nayafia's template https://github.com/nayafia/contributing-template -->

LICENSE renamed to LICENSE.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
The MIT License (MIT)
1+
MIT License
22

3-
Copyright (c) 2015 Matt Lewis
3+
Copyright (c) 2015-2018 / Matt Lewis @mattlewis (hello@mattlewis.me)
4+
5+
Copyright (c) 2018 / HTMLHint (htmlhint@gmail.com) / David Dias @thedaviddias (thedaviddias@gmail.com)
46

57
Permission is hereby granted, free of charge, to any person obtaining a copy
68
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,6 @@ module.exports = {
220220

221221
Project initially created by [@mattlewis](https://github.com/mattlewis92) and transferred to the [HTMLHint](https://github.com/htmlhint) organization.
222222

223+
<a href="https://htmlhint.io"><img src="https://raw.githubusercontent.com/htmlhint/htmlhint/develop/src/img/htmlhint.png" alt="Logo HTMLHint" width="65"></a>
224+
223225
[MIT License](./LICENSE)

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"repository": {
1717
"type": "git",
18-
"url": "git+https://github.com/thedaviddias/htmlhint-loader.git"
18+
"url": "git+https://github.com/htmlhint/htmlhint-loader.git"
1919
},
2020
"keywords": [
2121
"webpack",
@@ -25,12 +25,11 @@
2525
"lint",
2626
"html"
2727
],
28-
"author": "David Dias, Matt Lewis",
2928
"license": "MIT",
3029
"bugs": {
31-
"url": "https://github.com/thedaviddias/htmlhint-loader/issues"
30+
"url": "https://github.com/htmlhint/htmlhint-loader/issues"
3231
},
33-
"homepage": "https://github.com/thedaviddias/htmlhint-loader#readme",
32+
"homepage": "https://github.com/htmlhint/htmlhint-loader#readme",
3433
"dependencies": {
3534
"chalk": "^2.4.1",
3635
"glob": "^7.1.3",

0 commit comments

Comments
 (0)