Skip to content

Commit e0666fd

Browse files
committed
2 parents 849e058 + 10523ca commit e0666fd

Some content is hidden

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

54 files changed

+3134
-3556
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ charset = utf-8
88
trim_trailing_whitespace = true
99
insert_final_newline = true
1010

11+
[{*.yml,package.json}]
12+
indent_size = 2
13+
1114
[*.md]
1215
trim_trailing_whitespace = false

.eslintrc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"extends": "eslint:recommended",
3+
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
9+
"rules": {
10+
"no-bitwise": 1,
11+
"eqeqeq": 2,
12+
"guard-for-in": 2,
13+
"no-extend-native": 2
14+
},
15+
16+
"env": {
17+
"browser": true,
18+
"node": true
19+
},
20+
21+
"globals": {
22+
"require": false,
23+
"define": false,
24+
"escape": false
25+
}
26+
}

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
.DS_Store
2-
.idea
1+
docs/
2+
dist/
3+
coverage/
34
node_modules/
5+
6+
.DS_Store
47
npm-debug.log
5-
coverage/
68
sauce.json

.jscsrc

Lines changed: 10 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,16 @@
11
{
2-
"disallowDanglingUnderscores": false,
3-
"disallowIdentifierNames": [],
4-
"disallowImplicitTypeConversion": [],
5-
"disallowKeywordsOnNewLine": [
6-
"catch",
7-
"else"
8-
],
9-
"disallowKeywords": [
10-
"void",
11-
"with"
12-
],
13-
"disallowMixedSpacesAndTabs": true,
14-
"disallowMultipleLineBreaks": true,
15-
"disallowMultipleLineStrings": true,
16-
"disallowMultipleSpaces": true,
17-
"disallowMultipleVarDecl": "exceptUndefined",
18-
"disallowNewlineBeforeBlockStatements": true,
19-
"disallowPaddingNewlinesBeforeKeywords": [
20-
"case",
21-
"typeof"
22-
],
23-
"disallowPaddingNewlinesInBlocks": true,
24-
"disallowQuotedKeysInObjects": true,
25-
"disallowSpaceAfterKeywords": [
26-
"catch",
27-
"for",
28-
"switch",
29-
"while"
30-
],
31-
"disallowSpaceAfterObjectKeys": true,
32-
"disallowSpaceAfterPrefixUnaryOperators": true,
33-
"disallowSpaceBeforePostfixUnaryOperators": true,
34-
"disallowSpacesInCallExpression": true,
35-
"disallowSpacesInsideParentheses": true,
36-
"disallowTrailingComma": true,
37-
"disallowTrailingWhitespace": true,
38-
"disallowYodaConditions": true,
2+
"preset": "google",
3+
4+
"disallowVar": true,
5+
"jsDoc": {
6+
"checkParamExistence": true,
7+
"checkParamNames": true,
8+
"checkTypes": true,
9+
"requireParamTypes": true,
10+
"requireHyphenBeforeDescription": true,
11+
},
3912
"maximumLineLength": 120,
40-
"requireBlocksOnNewline": true,
41-
"requireCamelCaseOrUpperCaseIdentifiers": false,
42-
"requireCapitalizedComments": {
43-
"allExcept": [
44-
"exported",
45-
"global",
46-
"jshint"
47-
]
48-
},
49-
"requireCapitalizedConstructors": true,
50-
"requireCommaBeforeLineBreak": true,
51-
"requireCurlyBraces": [
52-
"catch",
53-
"do",
54-
"else",
55-
"for",
56-
"if",
57-
"try",
58-
"while"
59-
],
60-
"requireDollarBeforejQueryAssignment": true,
61-
"requireDotNotation": true,
62-
"requireKeywordsOnNewLine": [
63-
"break",
64-
"case",
65-
"default"
66-
],
67-
"requireLineBreakAfterVariableAssignment": true,
68-
"requireOperatorBeforeLineBreak": true,
69-
"requirePaddingNewLineAfterVariableDeclaration": true,
70-
"requirePaddingNewLinesAfterBlocks": {
71-
"allExcept": [
72-
"inArrayExpressions",
73-
"inCallExpressions",
74-
"inProperties"
75-
]
76-
},
77-
"requirePaddingNewLinesAfterUseStrict": true,
78-
"requirePaddingNewLinesBeforeExport": true,
79-
"requirePaddingNewlinesBeforeKeywords": [
80-
"do",
81-
"for",
82-
"function",
83-
"if",
84-
"return",
85-
"switch",
86-
"try",
87-
"void",
88-
"while",
89-
"with"
90-
],
91-
"requirePaddingNewLinesBeforeLineComments": {
92-
"allExcept": "firstAfterCurly"
93-
},
94-
"requirePaddingNewLinesInObjects": true,
95-
"requireParenthesesAroundIIFE": true,
96-
"requireSemicolons": true,
97-
"requireSpaceAfterBinaryOperators": true,
98-
"requireSpaceAfterKeywords": [
99-
"case",
100-
"do",
101-
"else",
102-
"if",
103-
"return",
104-
"try",
105-
"typeof"
106-
],
10713
"requireSpaceAfterLineComment": true,
108-
"requireSpaceBeforeBinaryOperators": true,
109-
"requireSpaceBeforeBlockStatements": true,
110-
"requireSpaceBeforeKeywords": [
111-
"catch",
112-
"else"
113-
],
114-
"requireSpaceBeforeObjectValues": true,
115-
"requireSpaceBetweenArguments": true,
116-
"requireSpacesInAnonymousFunctionExpression": {
117-
"beforeOpeningCurlyBrace": true
118-
},
119-
"requireSpacesInConditionalExpression": true,
120-
"requireSpacesInForStatement": true,
121-
"requireSpacesInFunctionDeclaration": {
122-
"beforeOpeningCurlyBrace": true
123-
},
124-
"requireSpacesInFunctionExpression": {
125-
"beforeOpeningCurlyBrace": true
126-
},
127-
"requireSpacesInFunction": {
128-
"beforeOpeningCurlyBrace": true
129-
},
130-
"requireSpacesInNamedFunctionExpression": {
131-
"beforeOpeningCurlyBrace": true
132-
},
13314
"safeContextKeyword": ["that"],
134-
"validateAlignedFunctionParameters": true,
13515
"validateIndentation": 3,
136-
"validateLineBreaks": "LF",
137-
"validateNewlineAfterArrayElements": {
138-
"maximum": 3
139-
},
140-
"validateParameterSeparator": ", ",
141-
"validateQuoteMarks": "'"
14216
}

.jsdoc.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"tags": {
3+
"dictionaries": ["jsdoc"]
4+
},
5+
"source": {
6+
"include": ["lib/", "package.json", "README.md"],
7+
"includePattern": ".js$",
8+
"excludePattern": "(node_modules/|docs)"
9+
},
10+
"plugins": [
11+
"plugins/markdown"
12+
],
13+
"templates": {
14+
"cleverLinks": false,
15+
"monospaceLinks": true
16+
},
17+
"opts": {
18+
"destination": "./docs/",
19+
"encoding": "utf8",
20+
"recurse": true,
21+
"template": "./node_modules/minami"
22+
}
23+
}

.jshintrc

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

.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
docs/
2+
coverage/
3+
node_modules/
4+
5+
.DS_Store
6+
sauce.json

.travis.yml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
language: node_js
2-
3-
sudo: false
4-
52
node_js:
6-
- "4.1"
7-
- "4.0"
8-
- "0.12"
9-
- "0.11"
10-
- "0.10"
11-
3+
- '5'
4+
- '4'
5+
- '0.12'
6+
- '0.10'
127
cache:
138
directories:
149
- node_modules
15-
16-
before_install:
17-
- npm i -g npm@^3.3.0
18-
10+
before_install: npm install -g npm@latest
11+
before_script:
12+
- npm run lint
13+
# - npm run build # will need this when we do sauce testing of compiled files
1914
script:
20-
- gulp lint
21-
- gulp test:ci
22-
- mocha test/
23-
- npm run-script codecov
15+
- npm test
16+
# - npm run test-dist # test the compiled files
17+
# after_success:
18+
# - npm run codecov # disabled temporarialy while I work out how to generate accurate coverage of ES2015 code
19+
before_deploy:
20+
- npm run build
21+
deploy:
22+
provider: npm
23+
skip_cleanup: true
24+
on:
25+
tags: true
26+
api_key:
27+
secure: TZHqJ9Kh2Qf0GAVDjEOQ01Ez6rGMYHKwVLOKTbnb7nSzF7iiGNT4UwzvYawm0T9p1k7X1WOqW3l7OEbIwoKl7/9azT4BBJm7qUMRfB9Zio5cL3rKubJVz7+LEEIW4iBeDWLanhUDgy9BO2JKCt8bfp/U2tltgXtu9Fm/UFPALI8=

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