Skip to content

Commit dba50e9

Browse files
author
Paul Shannon
committed
Visual Regression Testing Plugin
0 parents  commit dba50e9

Some content is hidden

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

45 files changed

+3101
-0
lines changed

.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = tab
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false
14+
15+
[package.json]
16+
indent_style = space
17+
indent_size = 2

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/src/**/*.js.map
2+
/src/**/*.js
3+
dist
4+
_build
5+
/node_modules
6+
.baseDir.ts
7+
.tsconfig*.json
8+
html-report
9+
/typings
10+
.grunt
11+
npm-debug.log
12+
visual-test

.jscsrc

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"maxErrors": 10,
3+
"requireCurlyBraces": [
4+
"if",
5+
"else",
6+
"for",
7+
"while",
8+
"do",
9+
"try",
10+
"catch"
11+
],
12+
"requireSpaceAfterKeywords": [
13+
"if",
14+
"else",
15+
"for",
16+
"while",
17+
"do",
18+
"switch",
19+
"return",
20+
"try",
21+
"catch"
22+
],
23+
"requireSpaceBeforeBlockStatements": true,
24+
"requireParenthesesAroundIIFE": true,
25+
"requireSpacesInConditionalExpression": true,
26+
"requireSpacesInAnonymousFunctionExpression": {
27+
"beforeOpeningRoundBrace": true,
28+
"beforeOpeningCurlyBrace": true
29+
},
30+
"requireSpacesInNamedFunctionExpression": {
31+
"beforeOpeningCurlyBrace": true
32+
},
33+
"disallowSpacesInNamedFunctionExpression": {
34+
"beforeOpeningRoundBrace": true
35+
},
36+
"requireSpacesInFunctionDeclaration": {
37+
"beforeOpeningCurlyBrace": true
38+
},
39+
"disallowSpacesInFunctionDeclaration": {
40+
"beforeOpeningRoundBrace": true
41+
},
42+
"disallowMultipleVarDecl": true,
43+
"requireBlocksOnNewline": true,
44+
"disallowEmptyBlocks": true,
45+
"requireSpacesInsideObjectBrackets": "allButNested",
46+
"requireSpacesInsideArrayBrackets": "allButNested",
47+
"disallowQuotedKeysInObjects": "allButReserved",
48+
"disallowSpaceAfterObjectKeys": true,
49+
"requireCommaBeforeLineBreak": true,
50+
"requireOperatorBeforeLineBreak": true,
51+
"disallowSpaceAfterPrefixUnaryOperators": true,
52+
"disallowSpaceBeforePostfixUnaryOperators": true,
53+
"requireSpaceBeforeBinaryOperators": true,
54+
"requireSpaceAfterBinaryOperators": true,
55+
"disallowImplicitTypeConversion": [
56+
"binary"
57+
],
58+
"requireCamelCaseOrUpperCaseIdentifiers": true,
59+
"disallowKeywords": [
60+
"with"
61+
],
62+
"disallowMultipleLineStrings": true,
63+
"disallowMultipleLineBreaks": true,
64+
"validateQuoteMarks": {
65+
"mark": "'",
66+
"escape": true
67+
},
68+
"validateIndentation": "\t",
69+
"disallowMixedSpacesAndTabs": "smart",
70+
"disallowTrailingWhitespace": true,
71+
"disallowTrailingComma": true,
72+
"requireKeywordsOnNewLine": [
73+
"else"
74+
],
75+
"requireLineFeedAtFileEnd": true,
76+
"maximumLineLength": 120,
77+
"requireCapitalizedConstructors": true,
78+
"requireDotNotation": true,
79+
"disallowYodaConditions": true,
80+
"requireSpaceAfterLineComment": true
81+
}

.jshintrc

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"asi": false,
3+
"bitwise": false,
4+
"boss": false,
5+
"browser": true,
6+
"couch": false,
7+
"curly": true,
8+
"debug": false,
9+
"devel": true,
10+
"dojo": false,
11+
"eqeqeq": true,
12+
"eqnull": true,
13+
"esnext": false,
14+
"evil": false,
15+
"expr": true,
16+
"forin": false,
17+
"funcscope": true,
18+
"globalstrict": false,
19+
"iterator": false,
20+
"jquery": false,
21+
"lastsemic": false,
22+
"latedef": false,
23+
"loopfunc": true,
24+
"mootools": false,
25+
"noarg": true,
26+
"node": false,
27+
"nonew": true,
28+
"nonstandard": false,
29+
"plusplus": false,
30+
"proto": false,
31+
"prototypejs": false,
32+
"rhino": false,
33+
"undef": true,
34+
"unused": true,
35+
"scripturl": true,
36+
"shadow": false,
37+
"strict": false,
38+
"supernew": false,
39+
"validthis": true,
40+
"worker": false,
41+
"wsh": false,
42+
"yui": false,
43+
"maxcomplexity": 10
44+
}

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: node_js
2+
node_js:
3+
- '6'
4+
env:
5+
global:
6+
- SAUCE_USERNAME=devpaul
7+
- secure: G54I/3SrYeesCOoOQEKPGEq8AhOrQWOpjCqZ9zf4vrG1SgUnAPm+wnb84YqTplj7NQDnkYNUytynYURFcNN3DkLTtPIOYbSyTSo3yi+o/yMiVClTSkTviPF/C5KDYh1GjihT9LzNMzn7kV3yFkbygSbrOzvmz7cCgIrL1AKbDp7IeeeTUQaNqrPE6/f9EbVz18M1ukohtPM5TU+au0rS+wGjMCga+kAiETSKT3JclZ2zV1BNv5UN/Hi+Qyave2G3qg1c43KMzhvZJgd7v/c4lDBGJCpLfPas2nNpQBKVGbFGJGdM77OqIdKIKSup6nvFcR7P0g6QihLMreb6fh5Q0HVCzAD+sUBFCtTreK0QFkPqIrRTmjWFtjJWxTITUIPL5zFKrpgJDEAq5e0DlQhl1hytMQthGSJo00a2WClnbAhciZuvzbSwAiKJhL+K2H7jMFqcDuIycNw5XNYbh5Yswler6qMMYCcXeCAi7HGnPUotcHs4lgWjQjTSMR3Hh0p4yl1jDM/HM/0+gaixFLEYpTVKK5K2a3lD79zzy8AQZwHkBqiZY/GYL3JpWJ9IRnRPPrmGSnwDH7MOfvbdkPbuPOnlhKerizfapv7o3Oy3W5n9LAhCp92uuCa//JM2m5S0/+MKvkSu8OX253oaVGpC/gPYyjCuXOxZN5tNa91mC6E=
8+
before_install:
9+
- npm install -g typings
10+
before_script:
11+
- npm install -g grunt-cli
12+
script: grunt test-ci

0 commit comments

Comments
 (0)