diff --git a/eslint.config.cjs b/eslint.config.cjs index 93ceea78..ed6348b2 100644 --- a/eslint.config.cjs +++ b/eslint.config.cjs @@ -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' } @@ -26,7 +26,7 @@ module.exports = [ files: ['test/{,**/}*.{js,cjs,mjs}'], languageOptions: { globals: { - ...js.globals.mocha, + ...rc.globals.mocha, register: 'readable' } }, diff --git a/package-lock.json b/package-lock.json index 942e2e77..658cb683 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "devDependencies": { "bmocha": "^2.2.1", "bsert": "~0.0.13", - "bslint-extra": "~0.0.2" + "bslintrc": "~0.0.3" }, "engines": { "node": ">=8.0.0" @@ -46,10 +46,10 @@ "node": ">=8.0.0" } }, - "node_modules/bslint-extra": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/bslint-extra/-/bslint-extra-0.0.2.tgz", - "integrity": "sha512-MBl/+F3I/nilWbSSD5t4EJatCscjOGn3hIuFqYXQm0hApTUw9DSI4ZxbxpLxv7VR6wQ0NtvGg+96ca0grnQEXA==", + "node_modules/bslintrc": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/bslintrc/-/bslintrc-0.0.3.tgz", + "integrity": "sha512-h95ityvrnwr5fMgX7OjyOqYXIRjWXKcZB/+RhkaKuoGlgNUOAkYnPaF5DYJ+BO6WfWkKsLeZfFWq0gU8OfWhpQ==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index af137e36..6271b2ad 100644 --- a/package.json +++ b/package.json @@ -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"