Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

20 changes: 0 additions & 20 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 18.16.0
nodejs 22.15.0
5 changes: 5 additions & 0 deletions DEPENDENCY-NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
As of 2025 Aug 22:

The `npm outdated` command reports some dependencies as outdated. They are not being updated at this time for the reasons given below:

- `chai`: major version 5 only supports ESM; using CommonJS require no longer works.
51 changes: 51 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
const { defineConfig, globalIgnores } = require('eslint/config');

const globals = require('globals');
const js = require('@eslint/js');

const { FlatCompat } = require('@eslint/eslintrc');

const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

module.exports = defineConfig([
globalIgnores(['lib']),
{
extends: compat.extends('eslint:recommended', 'prettier'),

languageOptions: {
globals: Object.assign({}, globals.node, globals.mocha),

ecmaVersion: 6,
sourceType: 'module',

parserOptions: {
ecmaFeatures: {
experimentalObjectRestSpread: true
}
}
},

rules: {
'linebreak-style': ['error', 'unix'],

'no-console': [
'warn',
{
allow: ['warn', 'error']
}
],

'no-unused-vars': [
'error',
{
vars: 'all',
args: 'none'
}
]
}
}
]);
Loading
Loading