Skip to content

Commit

Permalink
fix: use updated shared eslint config (#5116)
Browse files Browse the repository at this point in the history
  • Loading branch information
GZolla authored Oct 28, 2024
1 parent b11632f commit 43a2490
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
14 changes: 1 addition & 13 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default [
includeIgnoreFile(gitignorePath),
...compat.extends('brightspace/lit-config').map(c => ({
...c,
files
files: c.files ?? files
})),
{
languageOptions: {
Expand All @@ -26,18 +26,6 @@ export default [
},
},
},
{
files,
rules: {
'no-restricted-syntax': [0, 'CatchClause[param=null]']
},
},
{
files: ['**/demo/**.html'],
rules: {
'no-console': 0,
},
},
...compat.extends('brightspace/testing-config').map(config => ({
...config,
files: ['**/test/*'],
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

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

0 comments on commit 43a2490

Please sign in to comment.