chore: lint
This commit is contained in:
parent
5d8874eb66
commit
f25a4fbe46
18
.eslintrc
18
.eslintrc
|
@ -1,9 +1,19 @@
|
|||
{
|
||||
"parser": "@babel/eslint-parser",
|
||||
"extends": ["airbnb"],
|
||||
"extends": "eslint:recommended",
|
||||
"env": {
|
||||
"es6": 1,
|
||||
"node": 1
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2020
|
||||
},
|
||||
"ignorePatterns": [
|
||||
"node_modules",
|
||||
"dist"
|
||||
],
|
||||
"rules": {
|
||||
"no-tabs": 0,
|
||||
"no-mixed-spaces-and-tabs": 0
|
||||
|
||||
"no-console": "error",
|
||||
"no-mixed-spaces-and-tabs": 0
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -33,7 +33,6 @@
|
|||
"babel-loader": "9.1.3",
|
||||
"css-loader": "6.10.0",
|
||||
"eslint": "8.56.0",
|
||||
"eslint-config-airbnb": "19.0.4",
|
||||
"eslint-webpack-plugin": "4.0.1",
|
||||
"style-loader": "3.3.4",
|
||||
"webpack": "5.90.2",
|
||||
|
|
|
@ -39,5 +39,5 @@ export default function AgencySelect({ name, onChange, rry }) {
|
|||
AgencySelect.propTypes = {
|
||||
name: PropTypes.string,
|
||||
onChange: PropTypes.func,
|
||||
rry: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]))
|
||||
rry: PropTypes.array
|
||||
};
|
||||
|
|
|
@ -24,5 +24,5 @@ export default function TableEntries({ array }) {
|
|||
}
|
||||
|
||||
TableEntries.propTypes = {
|
||||
array: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]))
|
||||
array: PropTypes.array
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue