feat: Index behaviors by return typing strategy

* Adds the concept of, and options for, the return typing strategy
  * adds the strategy at the beginning of every behavior index
  * adds the strategy as an additional argument to resolve
  * No actual use of return type strategy so far
  * Sets up eslint
  * Fixes eslint errors
This commit is contained in:
Glen Whitney 2025-04-26 00:20:30 -07:00
parent aad62df8ac
commit 47370cec9e
16 changed files with 602 additions and 59 deletions

View file

@ -4,6 +4,7 @@
description: 'Sequel to mathjs as prototype for mathjs overhaul',
scripts: {
test: 'mocha ./**/*.spec.js',
lint: 'eslint -c etc/eslint.config.mjs',
},
keywords: [
'math',
@ -16,6 +17,9 @@
url: 'https://code.studioinfinity.org/glen/nanomath.git',
},
devDependencies: {
'@eslint/js': '^9.25.1',
eslint: '^9.25.1',
globals: '^16.0.0',
mocha: '^11.1.0',
},
dependencies: {