feat: Add return typing strategies and implement sqrt with them (#26)
All checks were successful
/ test (push) Successful in 17s

Resolves #25

Reviewed-on: #26
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
This commit is contained in:
Glen Whitney 2025-04-28 16:29:33 +00:00 committed by Glen Whitney
parent aad62df8ac
commit 0765ba7202
35 changed files with 1125 additions and 152 deletions

14
etc/eslint.config.mjs Normal file
View file

@ -0,0 +1,14 @@
import {defineConfig} from 'eslint/config'
import js from '@eslint/js'
import globals from 'globals'
export default defineConfig([{
files: ['**/*.js'],
plugins: {js},
languageOptions: {globals: {...globals.mocha, ...globals.node}},
extends: ['js/recommended'],
rules: {
'no-unused-vars': ['error', {argsIgnorePattern: '^_'}],
'no-empty': ['error', {allowEmptyCatch: true}],
}
}])