Skip to content

Commit d6f7211

Browse files
committed
tests passing
1 parent 07eb2a7 commit d6f7211

File tree

1,126 files changed

+13331
-1073
lines changed

Some content is hidden

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

1,126 files changed

+13331
-1073
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.eslintrc.js

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
module.exports = {
2+
plugins: ['prettier'],
3+
extends: ['eslint:recommended', 'prettier'],
4+
parser: 'babel-eslint',
5+
globals: {
6+
jasmine: true
7+
},
8+
parserOptions: {
9+
ecmaVersion: 11,
10+
sourceType: 'module',
11+
ecmaFeatures: {
12+
jsx: true
13+
}
14+
},
15+
env: {
16+
es6: true,
17+
browser: true,
18+
node: true,
19+
jest: true
20+
},
21+
rules: {
22+
'no-debugger': 2,
23+
'no-alert': 2,
24+
'no-await-in-loop': 0,
25+
'no-prototype-builtins': 0,
26+
'no-return-assign': ['error', 'except-parens'],
27+
'no-restricted-syntax': [
28+
2,
29+
'ForInStatement',
30+
'LabeledStatement',
31+
'WithStatement'
32+
],
33+
'no-unused-vars': [
34+
0,
35+
{
36+
ignoreSiblings: true,
37+
argsIgnorePattern: 'React|res|next|^_'
38+
}
39+
],
40+
'prefer-const': [
41+
'error',
42+
{
43+
destructuring: 'all'
44+
}
45+
],
46+
'no-unused-expressions': [
47+
2,
48+
{
49+
allowTaggedTemplates: true
50+
}
51+
],
52+
'no-console': 1,
53+
'comma-dangle': 2,
54+
'jsx-quotes': [2, 'prefer-double'],
55+
'linebreak-style': ['error', 'unix'],
56+
quotes: [
57+
2,
58+
'single',
59+
{
60+
avoidEscape: true,
61+
allowTemplateLiterals: true
62+
}
63+
],
64+
'prettier/prettier': [
65+
'error',
66+
{
67+
trailingComma: 'none',
68+
singleQuote: true,
69+
printWidth: 80
70+
}
71+
]
72+
}
73+
};
74+

.eslintrc.json

Lines changed: 0 additions & 43 deletions
This file was deleted.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* text=auto
2+
*.js text eol=lf

.gitignore

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
*.sw[op]
2-
*~
3-
*.DS_Store
4-
*.log
5-
.logs
61
node_modules
2+
.DS_Store
3+
.eslintcache
4+
*.log
5+
**/node_modules
6+
coverage
7+
packages/**/build
8+
packages/**/main
9+
packages/**/module

.npmignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules
2+
.DS_Store
3+
.eslintcache
4+
*.log
5+
**/node_modules
6+
coverage
7+
packages/**/build
8+
packages/**/main
9+
packages/**/module

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ env:
2626

2727
before_install:
2828
- yarn install
29-
- docker run -p 7777:5432 --name postgres -v `pwd`/packages:/sql-extensions -d pyramation/postgres
29+
- docker run -p 7777:5432 --name postgres -v `pwd`/packages:/sql-extensions -v `pwd`/node_modules:/sql-modules -d pyramation/postgres
3030
- sleep 3
3131
- while ! docker exec -it postgres pg_isready -U postgres -h 127.0.0.1; do echo "$(date) - waiting for database to start"; sleep 1; done
3232
- while ! docker exec postgres /sql-extensions/install.sh; do echo "installing plugins"; sleep 3; done

.vscode/settings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"[javascriptreact]": {
4+
"editor.formatOnSave": false
5+
},
6+
"[javascript]": {
7+
"editor.formatOnSave": false
8+
},
9+
"editor.codeActionsOnSave": {
10+
"source.fixAll.eslint": true
11+
},
12+
"eslint.validate": [
13+
"javascript",
14+
"javascriptreact"
15+
]
16+
}

.yarnrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
registry "https://registry.npmjs.org/"
2+
workspaces-experimental true
3+
save-prefix false
4+
save-exact true

babel.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
babelrcRoots: 'packages/*',
3+
presets: ['@pyramation/env']
4+
};

0 commit comments

Comments
 (0)