Skip to content

Commit

Permalink
Update eslint.config.js (#124)
Browse files Browse the repository at this point in the history
* Update eslint.config.js

* Also replace in eslint

* Fix phpcs

* Fix replace

* Fix replace

* Fix replace

* Fix replace

* Update deps

* Update deps
  • Loading branch information
JUVOJustin authored Oct 10, 2024
1 parent 6bca58e commit e616a2e
Show file tree
Hide file tree
Showing 5 changed files with 993 additions and 675 deletions.
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ export default {
],
rules: {
'no-console': 'error',
camelcase: ['error', {
allow: ['^demo_plugin'] // Allow global with plugin name to not be camelCased
}],
},
globals: {
"jQuery": "readonly",
"$": "readonly"
"$": "readonly",
"demo_plugin": "readonly"
}
};
Loading

0 comments on commit e616a2e

Please sign in to comment.