chore: lint

This commit is contained in:
dancingCycle 2024-02-19 20:30:10 +01:00
parent 5d8874eb66
commit f25a4fbe46
5 changed files with 16 additions and 2733 deletions

View File

@ -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
}
}

2726
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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",

View File

@ -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
};

View File

@ -24,5 +24,5 @@ export default function TableEntries({ array }) {
}
TableEntries.propTypes = {
array: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]))
array: PropTypes.array
};