Skip to content

Commit 465a4c8

Browse files
committed
Initial commit
0 parents  commit 465a4c8

16 files changed

+504
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.{json,remarkrc,eslintrc,sh}]
12+
indent_size = 2
13+
14+
[*.md]
15+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
components/
2+
coverage/
3+
example.js
4+
hast-util-parse-selector.js
5+
hast-util-parse-selector.min.js

.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "eslint:recommended",
3+
"rules": {
4+
"quotes": [2, "single"]
5+
}
6+
}

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
*.log
3+
components/
4+
coverage/
5+
node_modules/
6+
hast-util-parse-selector.js
7+
hast-util-parse-selector.min.js

.jscs.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"excludeFiles": [
3+
"components/",
4+
"coverage/",
5+
"node_modules/",
6+
"hast-util-parse-selector.js",
7+
"hast-util-parse-selector.min.js"
8+
],
9+
"preset": "yandex",
10+
"requireQuotedKeysInObjects": true,
11+
"disallowQuotedKeysInObjects": false,
12+
"maximumLineLength": {
13+
"value": 79,
14+
"allExcept": [
15+
"regex",
16+
"urlComments"
17+
]
18+
},
19+
"jsDoc": {
20+
"checkAnnotations": "jsdoc3",
21+
"checkParamExistence": true,
22+
"checkParamNames": true,
23+
"checkRedundantAccess": true,
24+
"checkRedundantParams": true,
25+
"checkRedundantReturns": true,
26+
"checkReturnTypes": true,
27+
"checkTypes": "strictNativeCase",
28+
"enforceExistence": true,
29+
"requireHyphenBeforeDescription": true,
30+
"requireNewlineAfterDescription": true,
31+
"requireParamDescription": true,
32+
"requireParamTypes": true,
33+
"requireReturnDescription": true,
34+
"requireReturnTypes": true
35+
}
36+
}

.remarkignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
components

.remarkrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"output": true,
3+
"plugins": [
4+
"comment-config",
5+
"github",
6+
"lint",
7+
"usage",
8+
"slug",
9+
"validate-links"
10+
],
11+
"settings": {
12+
"bullet": "*"
13+
}
14+
}

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: node_js
2+
node_js:
3+
- '0.10'
4+
- '0.11'
5+
- '0.12'
6+
- '4.0'
7+
- '5.0'
8+
- iojs
9+
sudo: false
10+
after_script: npm install codecov.io && cat ./coverage/lcov.info | codecov
11+
deploy:
12+
- provider: npm
13+
14+
api_key:
15+
secure: bHLUlXDvjZbCWTqIXafjMJVU00JjjljUczwIB3wdv5SpQmMefgxtwka6EtYP76ncP+ujlNIa7+TXBR+q1BBDMWdXx0/UEueTBVooXkW7eQTd/YBdlsJXAv5hEGuEJHlWncZEDHZTvy+f1rwiNuLqppEKRFeYweZltbX0pVSI0M1nUDUB4pIhccNrxlw/S0X59lgBIXN4cSn4fCV9lSvQh3VaTisXG0uOV3ucd5rUOJm3nJiYFvvdUjVBVFNNEgyQ8YHGaY04ozFHovZmr8X3fDgYus+RthxLp1pcUoSkfjy2Fl2vAT0F8HUUei7dql7LzERnP7x+3skLvzHy3PoIrYfj4IJ/DHEkRoAhoO99d1zyiqa3Y9yawVk3vmctR7MXIWGlXppOg10FX0bv/oYYf4dqSP3/7GgNE3sJLn3RQahRsRH0WuE6A+6CytdQBWYwTU8b2OfYLDOBCYuDNfmfSgZ09DSVxA51/Tj6BWiH3TeZHMgX8ylL5LUaPHS+lgAO31OFgGAAHdJVtnFGRq9RMjUU/RyyhndkUtsVoW1Zzb+QiQDLGPq0Gb9Af0Cmk3g6hBnDSKYW9bUPMVqxDEVr+8sg8yyGhJ4AYG1jOBCgMODqQljnUs2bm6UIMevTZf5j7iycTobr/sR+DgSUkfMx7KMCsYtmAkSTKmHK5Nq08Go=
16+
on:
17+
tags: true
18+
node: '5.0'
19+
- provider: releases
20+
api_key:
21+
secure: RonVf5rYuCI0Y/hirRDqCANIHwFrt4PSpwIOh+jWGrj4Mq4iRV25WrbgVZ7mU+r4nm2qMHpeMmfxdpj5SBawdXlkLGd64S9F9m5I5I9XNgzFrz0NzvkoJ6b3Y+/yVBQ29j+YswJzLTIhdh0ZFL1B/MoSeyLjHyuICO6oADfwpLMjMb9oh37VeQeEI6RlLytLO7zV4872fp9jAXTOLX+YrWOffi1YuOtdgddmEaz+OlMB3wFGu8aDkr9xnt30X/lKwD/gkDMO4CnB8joruJWhXmf3HmrFCSWc0ZdTAN7uWIYze7mNppfc/X5WNQp04QmJYfMT3MBAOSVDIt/b7AuxTDZsP2bY3dhEQvcX0nF20T8leYZrN9wCISqwanfm2OMJ9WNDCc6/OxPVd8TsztRBpSp1V/cIclqaLF7NqTOrIMGMUiSDapxt+loIE+L4E2djQiS5NaienIcM+Q9CWAXCa/et6BktEVR2RXcHfYmo/5Dkhph3RDoBKpLRgd1g0Ylbx70xu2ddae942s4Xfi6BX6jbgMrUwThYXC2l2ZosZQeRNhXF+l/v3YHJDn2cKuXA3u0B2L+VRs1jVum/KLOssbYw/mkOQ2D9x6S29K5qc7lKkc1+ceSuRTF0ONl6Fwc6zRrK05eal9x/Zo4KRuXgKt6uKA+bhR+DVeMlRKYvwC0=
22+
file:
23+
- "hast-util-parse-selector.js"
24+
- "hast-util-parse-selector.min.js"
25+
on:
26+
tags: true

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
(The MIT License)
2+
3+
Copyright (c) 2016 Titus Wormer <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
'Software'), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

component.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "hast-util-parse-selector",
3+
"version": "0.0.0",
4+
"description": "HAST to virtual dom",
5+
"license": "MIT",
6+
"keywords": [
7+
"hast",
8+
"rehype",
9+
"vdom",
10+
"html"
11+
],
12+
"repository": "wooorm/hast-util-parse-selector",
13+
"dependencies": {},
14+
"scripts": [
15+
"index.js"
16+
]
17+
}

0 commit comments

Comments
 (0)