Skip to content

Commit

Permalink
add eslint for future testing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Oct 8, 2024
1 parent cb97d99 commit 4d69bb2
Show file tree
Hide file tree
Showing 3 changed files with 11 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/
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"dependencies": {},
"license": "MIT",
"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 4d69bb2

Please sign in to comment.