Skip to content

Commit 0ec9595

Browse files
authored
Final merge of Docketeer 7.0 (#114)
Merging development back into master so that both branches are the same.
2 parents f979a9f + 1145ab6 commit 0ec9595

Some content is hidden

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

68 files changed

+636
-674
lines changed

.eslintrc.js

Lines changed: 9 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -4,64 +4,24 @@ module.exports = {
44
commonjs: true,
55
es2021: true,
66
node: true,
7-
'jest/globals': true,
87
},
9-
extends: [
10-
'eslint:recommended',
11-
'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react
12-
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
13-
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
14-
],
15-
plugins: ['react', '@typescript-eslint', 'jest', 'prettier'],
16-
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
8+
extends: ['eslint:recommended', 'plugin:react/recommended'],
179
parserOptions: {
18-
ecmaVersion: 2020,
19-
sourceType: 'module',
2010
ecmaFeatures: {
21-
jsx: true, // Allows for the parsing of JSX
22-
},
23-
},
24-
settings: {
25-
react: {
26-
// Tells eslint-plugin-react to automatically detect the version of React to use
27-
version: 'detect',
11+
jsx: true,
2812
},
13+
ecmaVersion: 12,
14+
sourceType: 'module',
2915
},
30-
// any directories/files to ignore goes here; node_modules ignore by default
31-
ignorePatterns: [],
16+
plugins: ['react'],
3217
rules: {
33-
/**
34-
* Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
35-
* e.g. "@typescript-eslint/explicit-function-return-type": "off",
36-
*
37-
* "off" or 0 - turn the rule off
38-
* "warn" or 1 - turn the rule on as a warning(doesn’ t affect exit code)
39-
* "error" or 2 - turn the rule on as an error(exit code is 1 when triggered)
40-
**/
41-
42-
indent: 0, // set to 0 as eslint and prettier will conflict
18+
indent: ['warn', 2],
19+
'no-unused-vars': ['off', { vars: 'local' }],
4320
'prefer-const': 'warn',
44-
quotes: [
45-
2,
46-
'single',
47-
{
48-
avoidEscape: true,
49-
allowTemplateLiterals: true,
50-
},
51-
],
52-
semi: 2,
21+
quotes: ['warn', 'single'],
22+
semi: ['warn', 'always'],
5323
'space-infix-ops': 'warn',
5424
'no-console': 'off',
55-
// ----- REACT ----- //
56-
'react/prop-types': 0, // remove with TS usage
57-
58-
// ----- TYPESCRIPT ----- //
59-
'@typescript-eslint/no-var-requires': 0,
60-
61-
// ----- PRETTIER ----- //
62-
'prettier/prettier': ['error', { singleQuote: true }],
63-
64-
// ----- MISC ----- //
6525
'no-restricted-syntax': [
6626
'error',
6727
{
Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ""
5-
labels: ""
6-
assignees: ""
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
78
---
89

910
**Describe the bug**
1011
A clear and concise description of what the bug is.
1112

1213
**To Reproduce**
1314
Steps to reproduce the behavior:
14-
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
@@ -24,17 +24,15 @@ A clear and concise description of what you expected to happen.
2424
If applicable, add screenshots to help explain your problem.
2525

2626
**Desktop (please complete the following information):**
27-
28-
- OS: [e.g. iOS]
29-
- Browser [e.g. chrome, safari]
30-
- Version [e.g. 22]
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
3130

3231
**Smartphone (please complete the following information):**
33-
34-
- Device: [e.g. iPhone6]
35-
- OS: [e.g. iOS8.1]
36-
- Browser [e.g. stock browser, safari]
37-
- Version [e.g. 22]
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
3836

3937
**Additional context**
4038
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ""
5-
labels: ""
6-
assignees: ""
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
78
---
89

910
**Is your feature request related to a problem? Please describe.**

.gitignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,17 @@ server/database/docketeerdb
1414
.idea/
1515
thumbs.db
1616
dist/
17+
node_modules/
1718
security/
18-
src/database/docketeerdb
19+
thumbs.db
20+
.idea/
1921
package-lock.json
22+
.webpack.config.js.icloud
23+
src/.index.js.icloud
24+
src/.store.js.icloud
25+
src/components/display/.RunningContainers.js.icloud
26+
src/components/display/.StoppedContainers.js.icloud
27+
src/database/docketeerdb
28+
.env
2029
yarn.lock
2130
coverage

.prettierrc.js

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

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: node_js
22

33
node_js:
44
- 16
5-
5+
66
env:
77
global: PATH=/opt/python/3.7.1/bin:$PATH
88

CODE_OF_CONDUCT.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
- Using welcoming and inclusive language
18-
- Being respectful of differing viewpoints and experiences
19-
- Gracefully accepting constructive criticism
20-
- Focusing on what is best for the community
21-
- Showing empathy towards other community members
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
2222

2323
Examples of unacceptable behavior by participants include:
2424

25-
- The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
- Trolling, insulting/derogatory comments, and personal or political attacks
28-
- Public or private harassment
29-
- Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
- Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
3333

3434
## Our Responsibilities
3535

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ First of all, thank you for your contribution.
66

77
All code changes happen through Github Pull Requests and we actively welcome them. To submit your pull request, follow the steps below:
88

9-
## Pull Requests - How to
9+
## Pull Requests
1010

1111
1. Fork and clone the repository.
1212
2. Create your feature branch. (git checkout -b [my-new-feature])
1313
3. Make sure to cover your code with tests and that your code is linted in accordance with our linting specifications (see coding style below).
1414
4. Commit your changes locally (git commit -m 'Added some feature') and then push to your remote repository.
15-
5. Submit a pull request to the _development_ branch, including a description of the work done in your pull request. **Squash** all commits.
15+
5. Submit a pull request to the _development_ branch, including a description of the work done in your pull request.
1616

1717
Note: Any contributions you make will be under the MIT Software License and your submissions are understood to be under the same that covers the project. Please reach out to the team if you have any questions.
1818

0 commit comments

Comments
 (0)