Skip to content

Commit eaefd49

Browse files
committed
initial commit
0 parents  commit eaefd49

21 files changed

+1208
-0
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
trim_trailing_whitespace = true
8+
end_of_line = lf
9+
charset = utf-8
10+
insert_final_newline = true
11+
max_line_length = 80

.eslintrc

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
# https://github.com/eslint/eslint/blob/master/docs/rules/README.md
2+
3+
rules:
4+
accessor-pairs: [2]
5+
array-bracket-spacing: [2, never]
6+
array-callback-return: [0]
7+
arrow-body-style: [2, as-needed]
8+
arrow-parens: [2, as-needed]
9+
arrow-spacing: [2, {before: true, after: true}]
10+
block-scoped-var: [2]
11+
brace-style: [2, 1tbs, {allowSingleLine: true}]
12+
camelcase: [2, {properties: never}]
13+
comma-dangle: [0]
14+
comma-spacing: [2, {before: false, after: true}]
15+
comma-style: [2, last]
16+
complexity: [0]
17+
computed-property-spacing: [2, never]
18+
consistent-return: [0]
19+
constructor-super: [2]
20+
curly: [0]
21+
default-case: [0]
22+
dot-location: [2, property]
23+
dot-notation: [0]
24+
eol-last: [2]
25+
eqeqeq: [2]
26+
generator-star-spacing: [2, before]
27+
global-require: [0]
28+
guard-for-in: [2]
29+
handle-callback-err: [2, ^(err|error)$]
30+
id-blacklist: [0]
31+
indent: [2, 2, {VariableDeclarator: 0}]
32+
jsx-quotes: [0]
33+
key-spacing: [0]
34+
keyword-spacing: [2]
35+
linebreak-style: [2, unix]
36+
lines-around-comment: [0]
37+
max-nested-callbacks: [0]
38+
new-cap: [0]
39+
new-parens: [2]
40+
newline-per-chained-call: [0]
41+
no-alert: [0]
42+
no-array-constructor: [0]
43+
no-bitwise: [2]
44+
no-caller: [2]
45+
no-case-declarations: [2]
46+
no-class-assign: [2]
47+
no-cond-assign: [2, except-parens]
48+
no-confusing-arrow: [2]
49+
no-const-assign: [2]
50+
no-constant-condition: [0]
51+
no-control-regex: [2]
52+
no-debugger: [2]
53+
no-delete-var: [2]
54+
no-div-regex: [0]
55+
no-dupe-args: [2]
56+
no-dupe-class-members: [2]
57+
no-dupe-keys: [2]
58+
no-duplicate-case: [2]
59+
no-else-return: [0]
60+
no-empty-character-class: [2]
61+
no-empty-function: [0]
62+
no-empty-pattern: [2]
63+
no-empty: [0]
64+
no-eq-null: [2]
65+
no-eval: [2]
66+
no-ex-assign: [2]
67+
no-extend-native: [2]
68+
no-extra-bind: [2]
69+
no-extra-boolean-cast: [2]
70+
no-extra-label: [0]
71+
no-extra-parens: [0]
72+
no-extra-semi: [2]
73+
no-fallthrough: [2]
74+
no-floating-decimal: [0]
75+
no-func-assign: [2]
76+
no-implicit-coercion: [2]
77+
no-implicit-globals: [0]
78+
no-implied-eval: [2]
79+
no-inline-comments: [0]
80+
no-inner-declarations: [2]
81+
no-invalid-regexp: [2]
82+
no-invalid-this: [0]
83+
no-irregular-whitespace: [2]
84+
no-iterator: [2]
85+
no-label-var: [2]
86+
no-labels: [2]
87+
no-lone-blocks: [2]
88+
no-lonely-if: [0]
89+
no-loop-func: [0]
90+
no-magic-numbers: [0]
91+
no-mixed-requires: [2, true]
92+
no-mixed-spaces-and-tabs: [2]
93+
no-multi-spaces: [0]
94+
no-multi-str: [2]
95+
no-multiple-empty-lines: [2, {max: 1}]
96+
no-native-reassign: [2]
97+
no-negated-condition: [0]
98+
no-negated-in-lhs: [2]
99+
no-nested-ternary: [0]
100+
no-new-func: [2]
101+
no-new-object: [2]
102+
no-new-require: [2]
103+
no-new-symbol: [2]
104+
no-new-wrappers: [2]
105+
no-new: [0]
106+
no-obj-calls: [2]
107+
no-octal-escape: [2]
108+
no-octal: [2]
109+
no-path-concat: [2]
110+
no-process-exit: [0]
111+
no-proto: [2]
112+
no-redeclare: [2]
113+
no-regex-spaces: [2]
114+
no-restricted-imports: [0]
115+
no-restricted-modules: [2, domain, freelist, smalloc, sys]
116+
no-restricted-syntax: [2, WithStatement]
117+
no-return-assign: [2, except-parens]
118+
no-script-url: [2]
119+
no-self-assign: [2]
120+
no-self-compare: [2]
121+
no-sequences: [2]
122+
no-shadow-restricted-names: [2]
123+
no-shadow: [0]
124+
no-spaced-func: [2]
125+
no-sparse-arrays: [2]
126+
no-this-before-super: [2]
127+
no-throw-literal: [2]
128+
no-trailing-spaces: [2]
129+
no-undef-init: [2]
130+
no-undef: [2]
131+
no-undefined: [0]
132+
no-underscore-dangle: [0]
133+
no-unexpected-multiline: [2]
134+
no-unmodified-loop-condition: [2]
135+
no-unneeded-ternary: [2]
136+
no-unreachable: [2]
137+
no-unused-expressions: [2]
138+
no-unused-labels: [0]
139+
no-unused-vars: [2, {args: all, argsIgnorePattern: ^_}]
140+
no-use-before-define: [2, nofunc]
141+
no-useless-call: [2]
142+
no-useless-concat: [2]
143+
no-useless-constructor: [2]
144+
no-warning-comments: [0]
145+
no-whitespace-before-property: [2]
146+
no-with: [2]
147+
object-curly-spacing: [2, never]
148+
one-var-declaration-per-line: [0]
149+
one-var: [0]
150+
operator-assignment: [2, always]
151+
operator-linebreak: [2, after]
152+
padded-blocks: [2, never]
153+
prefer-rest-params: [0]
154+
quote-props: [0]
155+
quotes: [2, single]
156+
radix: [2, as-needed]
157+
semi-spacing: [2, {before: false, after: true}]
158+
semi: [2, always]
159+
sort-imports: [0]
160+
space-before-blocks: [2, always]
161+
space-before-function-paren: [2, never]
162+
space-in-parens: [2, never]
163+
space-infix-ops: [2]
164+
space-unary-ops: [2]
165+
spaced-comment: [2, always, {markers: ["!"]}]
166+
strict: [0]
167+
template-curly-spacing: [2, never]
168+
use-isnan: [2]
169+
valid-typeof: [2]
170+
wrap-iife: [2, inside]
171+
yield-star-spacing: [2, {before: true, after: false}]
172+
yoda: [2, never]
173+
174+
env:
175+
es6: true
176+
browser: true
177+
greasemonkey: true
178+

.gitattributes

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
*.sln merge=union
7+
*.csproj merge=union
8+
*.vbproj merge=union
9+
*.fsproj merge=union
10+
*.dbproj merge=union
11+
12+
# Standard to msysgit
13+
*.doc diff=astextplain
14+
*.DOC diff=astextplain
15+
*.docx diff=astextplain
16+
*.DOCX diff=astextplain
17+
*.dot diff=astextplain
18+
*.DOT diff=astextplain
19+
*.pdf diff=astextplain
20+
*.PDF diff=astextplain
21+
*.rtf diff=astextplain
22+
*.RTF diff=astextplain

.gitignore

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
# GitHub build config
2+
build.json
3+
*.build.css
4+
*.build.min.css
5+
6+
#################
7+
## Eclipse
8+
#################
9+
10+
*.pydevproject
11+
.project
12+
.metadata
13+
bin/
14+
tmp/
15+
*.tmp
16+
*.bak
17+
*.swp
18+
*~.nib
19+
local.properties
20+
.classpath
21+
.settings/
22+
.loadpath
23+
24+
# External tool builders
25+
.externalToolBuilders/
26+
27+
# Locally stored "Eclipse launch configurations"
28+
*.launch
29+
30+
# CDT-specific
31+
.cproject
32+
33+
# PDT-specific
34+
.buildpath
35+
36+
#################
37+
## IntelliJ IDEA
38+
#################
39+
.idea/*
40+
*.iml
41+
42+
#################
43+
## Visual Studio
44+
#################
45+
46+
## Ignore Visual Studio temporary files, build results, and
47+
## files generated by popular Visual Studio add-ons.
48+
49+
# User-specific files
50+
*.suo
51+
*.user
52+
*.sln.docstates
53+
54+
# Build results
55+
[Dd]ebug/
56+
[Rr]elease/
57+
node_modules/
58+
*_i.c
59+
*_p.c
60+
*.ilk
61+
*.meta
62+
*.obj
63+
*.pch
64+
*.pdb
65+
*.pgc
66+
*.pgd
67+
*.rsp
68+
*.sbr
69+
*.tlb
70+
*.tli
71+
*.tlh
72+
*.tmp
73+
*.vspscc
74+
.builds
75+
*.dotCover
76+
77+
## TODO: If you have NuGet Package Restore enabled, uncomment this
78+
#packages/
79+
80+
# Visual C++ cache files
81+
ipch/
82+
*.aps
83+
*.ncb
84+
*.opensdf
85+
*.sdf
86+
87+
# Visual Studio profiler
88+
*.psess
89+
*.vsp
90+
91+
# ReSharper is a .NET coding add-in
92+
_ReSharper*
93+
94+
# Installshield output folder
95+
[Ee]xpress
96+
97+
# DocProject is a documentation generator add-in
98+
DocProject/buildhelp/
99+
DocProject/Help/*.HxT
100+
DocProject/Help/*.HxC
101+
DocProject/Help/*.hhc
102+
DocProject/Help/*.hhk
103+
DocProject/Help/*.hhp
104+
DocProject/Help/Html2
105+
DocProject/Help/html
106+
107+
# Click-Once directory
108+
publish
109+
110+
# Others
111+
[Bb]in
112+
[Oo]bj
113+
sql
114+
TestResults
115+
*.Cache
116+
ClientBin
117+
stylecop.*
118+
~$*
119+
*.dbmdl
120+
Generated_Code #added for RIA/Silverlight projects
121+
122+
# Backup & report files from converting an old project file to a newer
123+
# Visual Studio version. Backup files are not needed, because we have git ;-)
124+
_UpgradeReport_Files/
125+
Backup*/
126+
UpgradeLog*.XML
127+
128+
129+
130+
############
131+
## Windows
132+
############
133+
134+
# Windows image file caches
135+
Thumbs.db
136+
137+
# Folder config file
138+
Desktop.ini
139+
140+
# Installer logs
141+
pip-log.txt
142+
143+
# Unit test / coverage reports
144+
.coverage
145+
.tox
146+
147+
#Translations
148+
*.mo
149+
150+
#Mr Developer
151+
.mr.developer.cfg
152+
153+
# Mac crap
154+
.DS_Store

0 commit comments

Comments
 (0)