Skip to content

Commit 2ba1cfd

Browse files
committed
Initial commit
0 parents  commit 2ba1cfd

18 files changed

+5548
-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,svg,mdastrc,eslintrc}]
12+
indent_size = 2
13+
14+
[*.md]
15+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
build/
2+
components/
3+
coverage/
4+
build.js
5+
unified.js
6+
unified.min.js

.eslintrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"env": {
3+
"node": true
4+
},
5+
"rules": {
6+
"quotes": [2, "single"]
7+
}
8+
}

.gitignore

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

.jscs.json

Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
{
2+
"excludeFiles": [
3+
"build/",
4+
"components/",
5+
"coverage/",
6+
"node_modules/",
7+
"build.js",
8+
"unified.js",
9+
"unified.min.js"
10+
],
11+
"jsDoc": {
12+
"checkAnnotations": "jsdoc3",
13+
"checkParamNames": true,
14+
"checkRedundantAccess": true,
15+
"checkRedundantParams": true,
16+
"checkRedundantReturns": true,
17+
"checkReturnTypes": true,
18+
"checkTypes": "strictNativeCase",
19+
"enforceExistence": true,
20+
"requireDescriptionCompleteSentence": true,
21+
"requireHyphenBeforeDescription": true,
22+
"requireNewlineAfterDescription": true,
23+
"requireParamDescription": true,
24+
"requireParamTypes": true,
25+
"requireReturnTypes": true
26+
},
27+
"requireCurlyBraces": [
28+
"if",
29+
"else",
30+
"for",
31+
"while",
32+
"do",
33+
"try",
34+
"catch"
35+
],
36+
"requireSpaceAfterKeywords": [
37+
"if",
38+
"else",
39+
"for",
40+
"while",
41+
"do",
42+
"switch",
43+
"return",
44+
"try",
45+
"catch"
46+
],
47+
"requireSpaceBeforeBlockStatements": true,
48+
"requireParenthesesAroundIIFE": true,
49+
"requireSpacesInConditionalExpression": true,
50+
"requireSpacesInFunctionExpression": {
51+
"beforeOpeningCurlyBrace": true
52+
},
53+
"requireSpacesInAnonymousFunctionExpression": {
54+
"beforeOpeningRoundBrace": true,
55+
"beforeOpeningCurlyBrace": true
56+
},
57+
"requireSpacesInNamedFunctionExpression": {
58+
"beforeOpeningRoundBrace": true,
59+
"beforeOpeningCurlyBrace": true
60+
},
61+
"requireBlocksOnNewline": true,
62+
"disallowEmptyBlocks": true,
63+
"disallowSpacesInsideObjectBrackets": true,
64+
"disallowSpacesInsideArrayBrackets": true,
65+
"disallowSpacesInsideParentheses": true,
66+
"requireSpacesInsideObjectBrackets": "all",
67+
"disallowDanglingUnderscores": true,
68+
"disallowSpaceAfterObjectKeys": true,
69+
"requireCommaBeforeLineBreak": true,
70+
"requireOperatorBeforeLineBreak": [
71+
"?",
72+
"+",
73+
"-",
74+
"/",
75+
"*",
76+
"=",
77+
"==",
78+
"===",
79+
"!=",
80+
"!==",
81+
">",
82+
">=",
83+
"<",
84+
"<="
85+
],
86+
"requireSpaceBeforeBinaryOperators": [
87+
"+",
88+
"-",
89+
"/",
90+
"*",
91+
"=",
92+
"==",
93+
"===",
94+
"!=",
95+
"!=="
96+
],
97+
"requireSpaceAfterBinaryOperators": [
98+
"+",
99+
"-",
100+
"/",
101+
"*",
102+
"=",
103+
"==",
104+
"===",
105+
"!=",
106+
"!=="
107+
],
108+
"disallowSpaceAfterPrefixUnaryOperators": [
109+
"++",
110+
"--",
111+
"+",
112+
"-",
113+
"~",
114+
"!"
115+
],
116+
"disallowSpaceBeforePostfixUnaryOperators": [
117+
"++",
118+
"--"
119+
],
120+
"disallowImplicitTypeConversion": [
121+
"numeric",
122+
"boolean",
123+
"binary",
124+
"string"
125+
],
126+
"requireCamelCaseOrUpperCaseIdentifiers": true,
127+
"disallowKeywords": [
128+
"with"
129+
],
130+
"disallowMultipleLineStrings": true,
131+
"disallowMultipleLineBreaks": true,
132+
"validateLineBreaks": "LF",
133+
"validateQuoteMarks": "'",
134+
"disallowMixedSpacesAndTabs": true,
135+
"disallowTrailingWhitespace": true,
136+
"disallowTrailingComma": true,
137+
"disallowKeywordsOnNewLine": [
138+
"else"
139+
],
140+
"requireLineFeedAtFileEnd": true,
141+
"maximumLineLength": 78,
142+
"requireCapitalizedConstructors": true,
143+
"safeContextKeyword": "self",
144+
"requireDotNotation": true,
145+
"disallowYodaConditions": true
146+
}

.mdastignore

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

.mdastrc

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

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: node_js
2+
script: npm run-script test-travis
3+
node_js:
4+
- '0.10'
5+
- '0.11'
6+
- '0.12'
7+
- iojs
8+
sudo: false
9+
after_script: npm install codecov.io && cat ./coverage/lcov.info | codecov

LICENSE

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

bower.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "unified",
3+
"main": "unified.js",
4+
"description": "Text processing framework: Parse / Transform / Compile",
5+
"license": "MIT",
6+
"keywords": [
7+
"compose",
8+
"connect",
9+
"middleware",
10+
"config",
11+
"configuration"
12+
],
13+
"repository": {
14+
"type": "git",
15+
"url": "https://github.com/wooorm/unified.git"
16+
},
17+
"authors": [
18+
"Titus Wormer <tituswormer@gmail.com>"
19+
],
20+
"ignore": [
21+
".*",
22+
"*.log",
23+
"*.md",
24+
"*.sh",
25+
"*.svg",
26+
"build/",
27+
"components/",
28+
"coverage/",
29+
"node_modules/",
30+
"component.json",
31+
"package.json",
32+
"build.js",
33+
"index.js"
34+
]
35+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy