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 2054754 commit 6084d88
Show file tree
Hide file tree
Showing 3 changed files with 19 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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ docs/_build
docs/_static
docs/_templates
.enable_dev
yarn.lock
node_modules
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"dependencies": {},
"license": "GPL-2.0",
"devDependencies": {
"eslint-plugin-no-jquery": "^3.0.2",
"eslint": "^8.0.0",
"stylelint": "^14.0.0",
"stylelint-config-standard": "^29.0.0"
}
}

0 comments on commit 6084d88

Please sign in to comment.