diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index d5cc9f3..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "brightspace/lit-config" -} diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..b7109a0 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,7 @@ +import { litConfig, setDirectoryConfigs, testingConfig } from 'eslint-config-brightspace'; +export default setDirectoryConfigs( + litConfig, + { + test: testingConfig + } +); diff --git a/package.json b/package.json index aab6251..195be00 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/test/.eslintrc.json b/test/.eslintrc.json deleted file mode 100644 index 9c6a0b6..0000000 --- a/test/.eslintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "brightspace/testing-config" -}