Skip to content

Commit e8e38a2

Browse files
committed
update linter rules and build files with new versions
1 parent e8df394 commit e8e38a2

File tree

6 files changed

+30
-6
lines changed

6 files changed

+30
-6
lines changed

.eslintrc

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,23 @@
1616
"import/no-unresolved": 0,
1717
"import/no-named-as-default": 0,
1818
"import/no-named-as-default-member": 0,
19+
"import/no-useless-path-segments": 1,
20+
"import/no-cycle":0, //temporarily off
21+
"import/no-import-module-exports": 0, //temporarily off
1922
"comma-dangle": 0, // not sure why airbnb turned this on. gross!
23+
"default-param-last": 0,
24+
"no-else-return" :0,
2025
"indent": 0,
2126
"no-console": 0,
2227
"no-alert": 0,
28+
"no-import-assign": 2,
29+
"no-promise-executor-return": 0, //temporarily off
30+
"no-restricted-exports": 1,
2331
"no-underscore-dangle": 0,
2432
"no-useless-catch": 2,
33+
"prefer-object-spread": 0,
2534
"max-len": [1, 120, 2, {"ignoreComments": true, "ignoreTemplateLiterals": true}],
35+
"max-classes-per-file": 0,
2636
"quote-props": [1, "as-needed"],
2737
"no-unused-vars": [1, {"vars": "local", "args": "none"}],
2838
"consistent-return": ["error", { "treatUndefinedAsUnspecified": true }],
@@ -36,7 +46,19 @@
3646
{ "ignorePureComponents": true
3747
}],
3848
"class-methods-use-this": 0,
39-
"react/jsx-no-bind": [2, {"allowBind": true, "allowArrowFunctions": true}],
49+
"react/button-has-type": 0,
50+
"react/destructuring-assignment":0,
51+
"react/function-component-definition": 0,
52+
"react/jsx-curly-newline":0,
53+
"react/jsx-fragments":0,
54+
"react/jsx-no-useless-fragment":0, // temporarily off
55+
"react/jsx-one-expression-per-line": 0,
56+
"react/jsx-props-no-spreading": 0,
57+
"react/jsx-wrap-multilines": 0,
58+
"react/jsx-no-bind": [2, {"allowBind": true, "allowArrowFunctions": true, "allowFunctions": true}],
59+
"react/no-deprecated": 0, //temporarily off
60+
"react/no-unused-class-component-methods": 1,
61+
"react/sort-comp": 0,
4062
"no-return-assign": [2, "except-parens"],
4163
"jsx-a11y/anchor-is-valid": [
4264
"error",
@@ -49,6 +71,8 @@
4971
]
5072
}
5173
],
74+
"jsx-a11y/control-has-associated-label": 0, //temporarily off
75+
"jsx-a11y/label-has-associated-control": 0, //temporarily off
5276
"jsx-a11y/label-has-for": [
5377
2,
5478
{

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.14.2
1+
18.20.8

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sudo: required
22
language: node_js
33
node_js:
4-
- "16.14.2"
4+
- "18.20.8"
55

66
cache:
77
directories:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16.14.2 AS base
1+
FROM node:18.20.8 AS base
22
ENV APP_HOME=/usr/src/app \
33
TERM=xterm
44
RUN mkdir -p $APP_HOME

docker-compose-development.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
mongo:
3-
image: mongo:5.0
3+
image: mongo:8.0
44
volumes:
55
- dbdata:/data/db
66
app:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
mongo:
3-
image: mongo:5.0
3+
image: mongo:8.0
44
volumes:
55
- dbdata:/data/db
66
app:

0 commit comments

Comments
 (0)