Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 54418ca

Browse filesBrowse files
authored
Merge pull request #21 from Bit-Developer/upgrade-libraries
Upgrade library version
2 parents 804ecd9 + bd2d95b commit 54418ca
Copy full SHA for 54418ca

File tree

9 files changed

+13276
-4065
lines changed
Filter options

9 files changed

+13276
-4065
lines changed

‎.babelrc

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"presets": ["env", "react"]
2+
"presets": ["@babel/preset-env", "@babel/preset-react"]
33
}

‎.eslintrc.json

Copy file name to clipboard
+60-5Lines changed: 60 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,67 @@
11
{
2-
"extends": ["airbnb"],
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:import/errors",
5+
"plugin:import/warnings"
6+
],
7+
"plugins": ["react"],
8+
"parserOptions": {
9+
"ecmaVersion": 6,
10+
"sourceType": "module",
11+
"ecmaFeatures": {
12+
"jsx": true
13+
}
14+
},
315
"env": {
16+
"es6": true,
417
"browser": true,
5-
"node": true
18+
"node": true,
19+
"jquery": true,
20+
"mocha": true
621
},
722
"rules": {
8-
"no-console": "off",
9-
"comma-dangle": "off",
10-
"react/jsx-filename-extension": "off"
23+
"quotes": ["error", "single"],
24+
"no-console": 1,
25+
"no-debugger": 1,
26+
"no-var": 1,
27+
"semi": [1, "always"],
28+
"no-trailing-spaces": 0,
29+
"eol-last": 0,
30+
"no-unused-vars": 0,
31+
"no-underscore-dangle": 0,
32+
"no-alert": 0,
33+
"no-lone-blocks": 0,
34+
"jsx-quotes": 1,
35+
"react/display-name": [1, { "ignoreTranspilerName": false }],
36+
"react/forbid-prop-types": [1, { "forbid": ["any"] }],
37+
"react/jsx-boolean-value": 1,
38+
"react/jsx-closing-bracket-location": 0,
39+
"react/jsx-curly-spacing": 1,
40+
"react/jsx-indent-props": 0,
41+
"react/jsx-key": 1,
42+
"react/jsx-max-props-per-line": 0,
43+
"react/jsx-no-bind": 1,
44+
"react/jsx-no-duplicate-props": 1,
45+
"react/jsx-no-literals": 0,
46+
"react/jsx-no-undef": 1,
47+
"react/jsx-pascal-case": 1,
48+
"react/jsx-sort-prop-types": 0,
49+
"react/jsx-sort-props": 0,
50+
"react/jsx-uses-react": 1,
51+
"react/jsx-uses-vars": 1,
52+
"react/no-danger": 1,
53+
"react/no-did-mount-set-state": 1,
54+
"react/no-did-update-set-state": 1,
55+
"react/no-direct-mutation-state": 1,
56+
"react/no-multi-comp": 1,
57+
"react/no-set-state": 0,
58+
"react/no-unknown-property": 1,
59+
"react/prefer-es6-class": 1,
60+
"react/prop-types": 1,
61+
"react/react-in-jsx-scope": 1,
62+
"react/require-extension": "off",
63+
"react/self-closing-comp": 1,
64+
"react/sort-comp": 1,
65+
"react/jsx-wrap-multilines": 1
1166
}
1267
}

‎.nvmrc

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.16.1
1+
16.13.1

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
language: node_js
22
node_js:
3-
- "14.16.1"
3+
- "16.13.1"
44
sudo: true
55

66
branches:
77
only:
8-
- master
8+
- master
99

1010
deploy:
1111
# deploy app as api server
@@ -22,7 +22,7 @@ deploy:
2222
app: code-editor-react
2323

2424
after_deploy:
25-
# change settings in Procfile for client
26-
# web: node src/server/index.js
27-
# web: node server.js
28-
- bash ./procfile_upd.sh
25+
# change settings in Procfile for client
26+
# web: node src/server/index.js
27+
# web: node server.js
28+
- bash ./procfile_upd.sh

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.