Skip to content

Commit 0addc41

Browse files
committed
Initial
0 parents  commit 0addc41

File tree

8 files changed

+359
-0
lines changed

8 files changed

+359
-0
lines changed

.editorconfig

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# PHP PSR-2 Coding Standards
5+
# http://www.php-fig.org/psr/psr-2/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_style = space
15+
indent_size = 2

.eslintrc.yaml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
root: true
2+
parser: babel-eslint
3+
extends:
4+
- standard
5+
env:
6+
node: true
7+
parserOptions:
8+
sourceType: module
9+
ecmaVersion: 2018
10+
ecmaFeatures:
11+
globalReturn: false
12+
modules: false
13+
rules:
14+
max-len: off
15+
prefer-rest-params: off
16+
prefer-destructuring: off
17+
unicorn/prefer-spread: off
18+
function-paren-newline: off
19+
curly:
20+
- error
21+
comma-dangle:
22+
- error
23+
- always-multiline
24+
id-length:
25+
- error
26+
-
27+
min: 2
28+
exceptions:
29+
- i
30+
- x
31+
- y
32+
- e
33+
id-match:
34+
- error
35+
- "^(([A-Za-z0-9]+){2,})|([A-Z][A-Z_0-9]+)$"
36+
-
37+
properties: false
38+
onlyDeclarations: true
39+
indent:
40+
- error
41+
- 2
42+
-
43+
SwitchCase: 1
44+
quotes:
45+
- error
46+
- single
47+
semi:
48+
- error
49+
- never

.gitignore

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
25+
26+
# node-waf configuration
27+
.lock-wscript
28+
29+
# Compiled binary addons (https://nodejs.org/api/addons.html)
30+
build/Release
31+
32+
# Dependency directories
33+
bower_components/
34+
node_modules/
35+
jspm_packages/
36+
37+
# Typescript v1 declaration files
38+
typings/
39+
40+
# Optional npm cache directory
41+
.npm
42+
43+
# Optional eslint cache
44+
.eslintcache
45+
46+
# Optional REPL history
47+
.node_repl_history
48+
49+
# Output of 'npm pack'
50+
*.tgz
51+
52+
# Yarn Integrity file
53+
.yarn-integrity
54+
55+
# VSCode
56+
.vscode/
57+
58+
# dotenv environment variables file
59+
.env
60+
61+
*.traineddata
62+
files/
63+
64+
db.sqlite3
65+
66+
package-lock.json
67+
yarn.lock

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- 12
4+
- 13
5+
- 14
6+
script:
7+
- npm i -g npm
8+
- npm run lint --fix

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Denis Efremov
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 all
13+
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 THE
21+
SOFTWARE.

board.svg

+79
Loading

0 commit comments

Comments
 (0)