Skip to content

Commit

Permalink
OBS-384: upgrade ESLint to v8 (#6893)
Browse files Browse the repository at this point in the history
* OBS-478: upgrade ESLint to v8

* OBS-478: upgrade Prettier

* OBS-478: remove deprecated rules

* OBS-478: pin specific package versions
  • Loading branch information
toufali authored Feb 11, 2025
1 parent 178e872 commit a946a07
Show file tree
Hide file tree
Showing 4 changed files with 838 additions and 1,016 deletions.
21 changes: 0 additions & 21 deletions .eslintrc

This file was deleted.

19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"env": {
"browser": true,
"jquery": true
},
"extends": ["plugin:prettier/recommended", "eslint:recommended"],
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"globals": {
"moment": "readonly",
"Qs": "readonly"
},
"rules": {
"no-unused-vars":"warn",
"no-console":"warn"
}
}
Loading

0 comments on commit a946a07

Please sign in to comment.