Skip to content

Commit

Permalink
Add overrides for files in eslint config.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Jun 3, 2024
1 parent 3097433 commit 40e0733
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ module.exports = {
ecmaVersion: 'latest',
sourceType: 'module'
},
overrides: [{
files: ['**/*.js', '**/*.cjs']
}],
extends: [
'eslint-config-digitalbazaar',
'eslint-config-digitalbazaar/jsdoc',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"test": "mocha tests/ --reporter @digitalbazaar/mocha-w3c-interop-reporter --reporter-options abstract=\"$PWD/config/abstract.hbs\",reportDir=\"$PWD/reports\",respec=\"$PWD/config/respec.json\",suiteLog='./suite.log',templateData=\"$PWD/reports/index.json\",title=\"Data Integrity eddsa 2022 Interoperability Report 1.0\" --timeout 15000 --preserve-symlinks",
"lint": "eslint --ext .js,.cjs ."
"lint": "eslint ."
},
"author": {
"name": "W3C, Inc.",
Expand Down

0 comments on commit 40e0733

Please sign in to comment.