Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

7 changes: 7 additions & 0 deletions eslint.config.mjs
Copy link
Contributor Author

@GZolla GZolla Nov 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since "type":"module" is not set in package.json then the .mjs extension is needed.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { litConfig, setDirectoryConfigs, testingConfig } from 'eslint-config-brightspace';
export default setDirectoryConfigs(
litConfig,
{
test: testingConfig
}
);
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"devDependencies": {
"@babel/core": "^7",
"@brightspace-ui/testing": "^1",
"eslint": "^8",
"eslint-config-brightspace": "^1.0",
"eslint": "^9",
"eslint-config-brightspace": "^2",
"sinon": "^19"
}
}
3 changes: 0 additions & 3 deletions test/.eslintrc.json

This file was deleted.