Skip to content

Commit

Permalink
fix: sync package.json dependencies to match actual dependencies (#15)
Browse files Browse the repository at this point in the history
* add import/no-extraneous-dependencies rule to catch the issue

* fix dependencies to match whats actually required
  • Loading branch information
dbjorge authored Oct 4, 2024
1 parent f5c172b commit bc65dd2
Show file tree
Hide file tree
Showing 4 changed files with 1,367 additions and 553 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.eslintrc.js
src/libs/kontra.js
5 changes: 3 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ module.exports = {
parserOptions: {
ecmaVersion: 12
},
extends: 'eslint:recommended',
extends: ['eslint:recommended', 'plugin:import/recommended'],
rules: {
'no-debugger': 0,
'no-inner-declarations': 0
'no-inner-declarations': 0,
'import/no-extraneous-dependencies': 'error'
}
};
Loading

0 comments on commit bc65dd2

Please sign in to comment.