Skip to content

Commit

Permalink
use eslint no-jquery rules. Migrate bind to on
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Oct 8, 2024
1 parent cc1af89 commit 11a4640
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
env:
browser: true
jquery: true
extends: 'eslint:recommended'
extends:
- 'eslint:recommended'
- 'plugin:no-jquery/deprecated'
plugins:
- no-jquery
parserOptions:
ecmaVersion: 2019
rules:
indent:
- error
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"dependencies": {},
"devDependencies": {
"eslint-plugin-no-jquery": "^3.0.2",
"eslint": "^8.0.0",
"stylelint": "^14.0.0",
"stylelint-config-standard": "^29.0.0"
Expand Down

0 comments on commit 11a4640

Please sign in to comment.