Skip to content

Commit ff825ac

Browse files
committed
wip
1 parent 6dabd58 commit ff825ac

21 files changed

+5408
-0
lines changed

.editorconfig

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[*]
2+
insert_final_newline = true
3+
end_of_line = lf
4+
charset = utf-8
5+
trim_trailing_whitespace = true
6+
indent_style = space
7+
indent_size = 4
8+
max_line_length = 100
9+
10+
[*.{js,ts}]
11+
quote_type = single
12+
curly_bracket_next_line = false
13+
spaces_around_brackets = inside
14+
indent_brace_style = BSD KNF
15+
16+
[*.{json,yml}]
17+
indent_size = 2
18+
19+
[composer.json]
20+
indent_size = 4
21+
22+
[*.md]
23+
trim_trailing_whitespace = false

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
src/registerServiceWorker.js
2+
src/**/__tests__/**

.eslintrc.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"extends": [
4+
"eslint:recommended",
5+
"plugin:@typescript-eslint/recommended",
6+
"prettier/@typescript-eslint",
7+
"plugin:prettier/recommended"
8+
],
9+
"plugins": [
10+
"@typescript-eslint",
11+
"prettier"
12+
],
13+
"env": {
14+
"browser": true,
15+
"jasmine": true,
16+
"jest": true
17+
},
18+
"rules": {
19+
"prettier/prettier": [
20+
"error",
21+
{
22+
"singleQuote": true
23+
}
24+
]
25+
},
26+
"parserOptions": {
27+
"ecmaVersion": 2015,
28+
"sourceType": "module"
29+
}
30+
}

.gitattributes

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# ========================================================================
2+
# Git Attributes (https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes)
3+
# https://github.com/kuetemeier/project-template/blob/master/.gitattributes
4+
# ========================================================================
5+
#
6+
# Copyright 2016 Kuetemeier.NET GmbH
7+
#
8+
# Licensed under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# <http://www.apache.org/licenses/LICENSE-2.0>
13+
#
14+
# Unless required by applicable law or agreed to in writing, software
15+
# distributed under the License is distributed on an "AS IS" BASIS,
16+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
# See the License for the specific language governing permissions and
18+
# limitations under the License.
19+
#
20+
# ========================================================================
21+
22+
# Enforce Unix newlines
23+
*.css text eol=lf
24+
*.html text eol=lf
25+
*.js text eol=lf
26+
*.json text eol=lf
27+
*.less text eol=lf
28+
*.md text eol=lf
29+
*.svg text eol=lf
30+
*.yml text eol=lf
31+
32+
# Enforce Windows newlines
33+
*.bat text eol=crlf
34+
35+
# Don't diff or textually merge source maps
36+
*.map binary

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ typings/
5959

6060
# next.js build output
6161
.next
62+
/docs/*

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.prettierrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"singleQuote": true,
3+
"arrowParens": "avoid",
4+
"semi": true,
5+
"bracketSpacing": true,
6+
"trailingComma": "es5",
7+
"tabWidth": 4,
8+
"printWidth": 80
9+
}

docs/assets/css/main.css

+865
Large diffs are not rendered by default.

example/browser/index.html

Whitespace-only changes.

0 commit comments

Comments
 (0)