diff --git a/eslint.config.js b/eslint.config.js index 47926e260ee..86e422f0e41 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -17,7 +17,7 @@ export default [ includeIgnoreFile(gitignorePath), ...compat.extends('brightspace/lit-config').map(c => ({ ...c, - files + files: c.files ?? files })), { languageOptions: { @@ -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/*'], diff --git a/package-lock.json b/package-lock.json index 88886682cf7..88aa1e9817b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,16 +20,16 @@ "devDependencies": { "@brightspace-ui/stylelint-config": "^1", "@brightspace-ui/testing": "^1", - "@eslint/compat": "^1.2.1", - "@eslint/eslintrc": "^3.1.0", - "@eslint/js": "^9.13.0", + "@eslint/compat": "^1", + "@eslint/eslintrc": "^3", + "@eslint/js": "^9", "@rollup/plugin-dynamic-import-vars": "^2", "@rollup/plugin-node-resolve": "^15", "@rollup/plugin-replace": "^6", "@web/dev-server": "^0.4", "chalk": "^5", "eslint": "^9", - "eslint-config-brightspace": "^1.2.1", + "eslint-config-brightspace": "^1.3.1", "glob-all": "^3", "messageformat-validator": "^2", "node-sass": "^9", @@ -4943,9 +4943,9 @@ } }, "node_modules/eslint-config-brightspace": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/eslint-config-brightspace/-/eslint-config-brightspace-1.2.1.tgz", - "integrity": "sha512-48P/5ZIfVEixNpOm9ZOKu4/X3a2JHou3Am7GQL7DLdcG2Kxn467KclvZrUqUcH2LMIxnMc8MCr71s6yoez/0fw==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/eslint-config-brightspace/-/eslint-config-brightspace-1.3.1.tgz", + "integrity": "sha512-4ozUfnUZCijbeE1n3FwtRoG4/lDa8/b5uOyPUCoRXzj/WZ+mNgkngQBVmN0y8w7RDQqyXiLOnkpwE3dknkf0aw==", "dev": true, "license": "Apache-2.0", "peerDependencies": {