Skip to content

Commit 6be3ac2

Browse files
committed
Initial client setup
1 parent 84f0897 commit 6be3ac2

17 files changed

+17913
-180
lines changed

.vscode/settings.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"eslint.workingDirectories": [
3+
{
4+
"directory": "./client",
5+
"changeProcessCWD": true
6+
},
7+
{
8+
"directory": "./api",
9+
"changeProcessCWD": true
10+
}
11+
]
12+
}

api/package-lock.json

-169
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/package.json

+4-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "jira_api",
3-
"author": "Ivor Reic",
4-
"license": "ISC",
53
"version": "1.0.0",
6-
"description": "",
7-
"main": "index.js",
4+
"author": "Ivor Reic",
5+
"license": "MIT",
86
"scripts": {
97
"start": "nodemon --exec ts-node --files src/index.ts",
10-
"db-seed": "nodemon --exec ts-node --files src/database/seeds/development/index.ts"
8+
"db-seed": "nodemon --exec ts-node --files src/database/seeds/development/index.ts",
9+
"pre-commit": "lint-staged"
1110
},
1211
"dependencies": {
1312
"cors": "^2.8.5",
@@ -37,7 +36,6 @@
3736
"eslint-config-prettier": "^6.7.0",
3837
"eslint-plugin-import": "^2.18.2",
3938
"eslint-plugin-prettier": "^3.1.1",
40-
"husky": "^3.1.0",
4139
"lint-staged": "^9.4.3",
4240
"nodemon": "^2.0.0",
4341
"prettier": "^1.19.1",
@@ -47,11 +45,6 @@
4745
"_moduleDirectories": [
4846
"src"
4947
],
50-
"husky": {
51-
"hooks": {
52-
"pre-commit": "lint-staged"
53-
}
54-
},
5548
"lint-staged": {
5649
"*.ts": [
5750
"eslint --fix",

client/.babelrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"presets": ["@babel/preset-env", "@babel/react"],
3+
"plugins": [
4+
["@babel/plugin-proposal-decorators", { "legacy": true }],
5+
"@babel/plugin-proposal-export-namespace-from",
6+
"@babel/plugin-syntax-dynamic-import",
7+
["@babel/plugin-proposal-class-properties", { "loose": true }],
8+
]
9+
}

client/.eslintrc.json

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parser": "babel-eslint",
3+
"parserOptions": {
4+
"sourceType": "module",
5+
"ecmaVersion": 8,
6+
"ecmaFeatures": {
7+
"jsx": true
8+
}
9+
},
10+
"env": {
11+
"browser": true,
12+
"jest": true
13+
},
14+
"extends": ["airbnb", "prettier", "prettier/react"],
15+
"rules": {
16+
"radix": 0,
17+
"no-restricted-syntax": 0,
18+
"no-await-in-loop": 0,
19+
"no-console": 0,
20+
"consistent-return": 0,
21+
"no-param-reassign": [2, { "props": false }],
22+
"no-return-assign": [2, "except-parens"],
23+
"no-use-before-define": 0,
24+
"import/prefer-default-export": 0,
25+
"import/no-cycle": 0,
26+
"react/no-array-index-key": 0,
27+
"react/forbid-prop-types": 0,
28+
"jsx-a11y/click-events-have-key-events": 0
29+
},
30+
"settings": {
31+
// Allows us to use absolute imports within codebase
32+
"import/resolver": {
33+
"node": {
34+
"moduleDirectory": ["node_modules", "src/"]
35+
}
36+
}
37+
}
38+
}

client/.prettierrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true,
4+
"trailingComma": "all"
5+
}

client/README.md

Whitespace-only changes.

0 commit comments

Comments
 (0)