Skip to content

Commit

Permalink
Refactor ESLint config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623 committed Sep 27, 2023
1 parent 65f3092 commit 1085936
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,19 @@ const globals = require('globals');
module.exports = [
...config,
{
ignores: ['dist/*.?(m)js']
ignores: ['dist']
},
{
files: ['**/*.?(m)js'],
files: ['src/**/*.?(m)js'],
languageOptions: {
globals: {
...globals.browser
}
globals: globals.browser
}
},
{
files: ['spec/**/*[sS]pec.?(m)js'],
languageOptions: {
globals: {
...globals.browser,
...globals.jasmine
}
}
Expand Down

0 comments on commit 1085936

Please sign in to comment.