Skip to content

Commit e3fcefe

Browse files
committed
Initial import
0 parents  commit e3fcefe

12 files changed

+2559
-0
lines changed

.editorconfig

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
; top-most EditorConfig file
2+
root = true
3+
4+
; Unix-style newlines
5+
[*]
6+
charset = utf-8
7+
end_of_line = LF
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.{php, html, twig, ts, tsx, scss, js}]
12+
indent_style = space
13+
indent_size = 4
14+
15+
[*.md]
16+
max_line_length = 80
17+
insert_final_newline = false
18+
trim_trailing_whitespace = false
19+
20+
[COMMIT_EDITMSG]
21+
max_line_length = 0

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/*

.eslintrc.json

+136
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
{
2+
"extends": [
3+
"eslint-config-airbnb",
4+
"plugin:angular/johnpapa"
5+
],
6+
"plugins": [
7+
"@typescript-eslint",
8+
"jasmine"
9+
],
10+
"parser": "@typescript-eslint/parser",
11+
"parserOptions": {
12+
"project": "./tsconfig.json"
13+
},
14+
"env": {
15+
"browser": true,
16+
"jasmine": true
17+
},
18+
"settings": {
19+
"react": {
20+
"version": "latest"
21+
}
22+
},
23+
"rules": {
24+
"indent": [
25+
"error",
26+
4,
27+
{
28+
"SwitchCase": 1
29+
}
30+
],
31+
"no-prototype-builtins": "off",
32+
"yoda": "off",
33+
"prefer-const": "off",
34+
"no-unused-vars": "off",
35+
"no-underscore-dangle": "off",
36+
"no-plusplus": "off",
37+
"no-multi-spaces": [
38+
"error",
39+
{
40+
"exceptions": {
41+
"Property": true,
42+
"VariableDeclarator": true,
43+
"ImportDeclaration": true,
44+
"AssignmentExpression": true
45+
}
46+
}
47+
],
48+
"key-spacing": [
49+
"error",
50+
{
51+
"align": "value"
52+
}
53+
],
54+
"max-len": [
55+
"error",
56+
{
57+
"code": 120,
58+
"ignoreStrings": true
59+
}
60+
],
61+
"padded-blocks": [
62+
"error",
63+
{
64+
"classes": "always"
65+
}
66+
],
67+
"object-curly-newline": [
68+
"error",
69+
{
70+
"ObjectExpression": {
71+
"multiline": true,
72+
"minProperties": 2
73+
},
74+
"ObjectPattern": {
75+
"multiline": true
76+
},
77+
"ImportDeclaration": {
78+
"multiline": true,
79+
"minProperties": 2
80+
},
81+
"ExportDeclaration": {
82+
"multiline": true,
83+
"minProperties": 2
84+
}
85+
}
86+
],
87+
"no-multiple-empty-lines": [
88+
"error",
89+
{
90+
"max": 1
91+
}
92+
],
93+
"object-shorthand": [
94+
"error",
95+
"never"
96+
],
97+
"semi": "off",
98+
"no-extra-semi": "off",
99+
"@typescript-eslint/semi": "error",
100+
"@typescript-eslint/no-extra-semi": "error",
101+
"@typescript-eslint/no-unused-vars": [
102+
"error",
103+
{
104+
"varsIgnorePattern": "h"
105+
}
106+
],
107+
"@typescript-eslint/no-unused-vars-experimental": "error",
108+
"@typescript-eslint/explicit-function-return-type": "error",
109+
"@typescript-eslint/explicit-member-accessibility": "error",
110+
"@typescript-eslint/typedef": [
111+
"error",
112+
{
113+
"variableDeclaration": true,
114+
"arrayDestructuring": true,
115+
"objectDestructuring": true,
116+
"arrowParameter": true,
117+
"memberVariableDeclaration": true,
118+
"parameter": true,
119+
"propertyDeclaration": true,
120+
"variableDeclarationIgnoreFunction": true
121+
}
122+
],
123+
"import/prefer-default-export": "off",
124+
"import/no-unresolved": "off",
125+
"import/extensions": "off",
126+
"react/no-unknown-property": [
127+
"error",
128+
{
129+
"ignore": [
130+
"class"
131+
]
132+
}
133+
],
134+
"angular/window-service": "off"
135+
}
136+
}

.gitignore

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

README.md

Whitespace-only changes.

bin/npm

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
PROJECTDIR="$( cd "$(dirname "$0")" ; cd ".." ; pwd -P )"
4+
ARGS=$@
5+
6+
docker run -it --rm -v "$PROJECTDIR:/var/www/html" -w "/var/www/html" node:latest sh -c "npm $ARGS"

0 commit comments

Comments
 (0)