Skip to content

Commit 1126b43

Browse files
committed
update packages
1 parent f5c4b4d commit 1126b43

File tree

16 files changed

+6096
-2940
lines changed

16 files changed

+6096
-2940
lines changed

.babelrc

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

.eslintrc

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"parser": "babel-eslint",
23
"extends": ["airbnb"],
34
"globals": {
45
"window": true,
@@ -8,20 +9,9 @@
89
"navigator": true
910
},
1011
"rules": {
11-
"guard-for-in": ["off"],
12-
"no-console": ["off"],
13-
"no-use-before-define": ["off"],
14-
"no-restricted-syntax": ["off"],
15-
"no-param-reassign": ["off"],
16-
"no-return-assign": ["off"],
17-
"no-confusing-arrow": ["off"],
18-
"class-methods-use-this": ["off"],
19-
"jsx-a11y/no-static-element-interactions": ["off"],
20-
"jsx-a11y/img-has-alt": ["off"],
21-
"react/no-will-update-set-state": ["off"],
22-
"react/jsx-boolean-value": ["off"],
23-
"react/react-in-jsx-scope": ["off"],
24-
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
25-
"react/forbid-prop-types": ["off"]
12+
"no-confusing-arrow": 0,
13+
"no-return-assign": 0,
14+
"guard-for-in": 0,
15+
"no-restricted-syntax": 0,
2616
}
2717
}

babel.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const presets = ['@babel/env', '@babel/preset-react'];
2+
const plugins = [
3+
'@babel/plugin-transform-arrow-functions',
4+
'@babel/plugin-proposal-class-properties',
5+
];
6+
7+
module.exports = { presets, plugins };

dist/react-simple-chatbot.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)