mirror of
https://github.com/Safe-Support-Chat/ocrcc-chatbox
synced 2024-12-25 10:31:47 +00:00
309bfd6a5b
* adding optional parameters * updating bodyText mount prop to default * updating snapshot for new props * adding parent element for mounting * adding null default for parentElement * adding dist to gitignore * adding test case for mounting to element * adding div to document in test * unmount after test * updating test to pass * updating eslint to handle certain rules as warning and fix others
20 lines
420 B
Plaintext
20 lines
420 B
Plaintext
{
|
|
"env": {
|
|
"browser": true,
|
|
"jest": true
|
|
},
|
|
"parser": "babel-eslint",
|
|
"extends": "airbnb",
|
|
"rules": {
|
|
"no-underscore-dangle": 0,
|
|
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
|
|
"import/prefer-default-export": 1,
|
|
"import/no-extraneous-dependencies": 1,
|
|
"no-await-in-loop": 1
|
|
},
|
|
"plugins": ["react"],
|
|
"settings": {
|
|
"import/resolver": "webpack"
|
|
}
|
|
}
|