Skip to content

Commit

Permalink
pkg: switch to bslintrc.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jan 15, 2025
1 parent d8d38c2 commit 2119dc5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
'use strict';

const js = require('bslint-extra');
const rc = require('bslintrc');

module.exports = [
js.configs.recommended,
js.configs.bcoin,
rc.configs.recommended,
rc.configs.bcoin,
{
languageOptions: {
globals: {
...js.globals.node
...rc.globals.node
},
ecmaVersion: 'latest'
}
Expand All @@ -26,7 +26,7 @@ module.exports = [
files: ['test/{,**/}*.{js,cjs,mjs}'],
languageOptions: {
globals: {
...js.globals.mocha,
...rc.globals.mocha,
register: 'readable'
}
},
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"devDependencies": {
"bmocha": "^2.2.1",
"bsert": "~0.0.13",
"bslint-extra": "~0.0.2"
"bslintrc": "~0.0.3"
},
"engines": {
"node": ">=8.0.0"
Expand Down

0 comments on commit 2119dc5

Please sign in to comment.