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:
parent
aad62df8ac
commit
47370cec9e
16 changed files with 602 additions and 59 deletions
14
etc/eslint.config.mjs
Normal file
14
etc/eslint.config.mjs
Normal 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}],
|
||||
}
|
||||
}])
|
Loading…
Add table
Add a link
Reference in a new issue