chore: replace deprecated String.prototype.substr() (#6333)
* chore: replace deprecated String.prototype.substr() .substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com> * refactor: add prefer slice lint rule and fix errors Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
This commit is contained in:
@ -128,11 +128,12 @@
|
||||
"cypress-jest-adapter": "^0.1.1",
|
||||
"cypress-plugin-tab": "^1.0.0",
|
||||
"dotenv": "^10.0.0",
|
||||
"eslint": "^7.0.0",
|
||||
"eslint": "^8.12.0",
|
||||
"eslint-plugin-cypress": "^2.6.0",
|
||||
"eslint-plugin-import": "^2.18.2",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-react": "^7.17.0",
|
||||
"eslint-plugin-unicorn": "^41.0.1",
|
||||
"execa": "^5.0.0",
|
||||
"friendly-errors-webpack-plugin": "^1.7.0",
|
||||
"fs-extra": "^10.0.0",
|
||||
|
Reference in New Issue
Block a user