Skip to content

Commit

Permalink
Update JS Test Rules
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed May 17, 2023
1 parent 5a19582 commit c1468a7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/linters/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
"env": {
"browser": true,
"commonjs": true,
"jquery": true
"jquery": true,
"es2021": true
},
"root": true,
"extends": "eslint:recommended",
"ignorePatterns": ["clipboard-*.min.js", "**/vendor/*.js"]
"ignorePatterns": ["clipboard-*.min.js", "**/vendor/*.js"],
"globals": {
"ClipboardJS": "readonly"
},
"rules": {
"no-undef": "warn"
}
}

0 comments on commit c1468a7

Please sign in to comment.