nanomath/etc/eslint.config.mjs
Glen Whitney 0765ba7202
All checks were successful
/ test (push) Successful in 17s
feat: Add return typing strategies and implement sqrt with them (#26)
Resolves #25

Reviewed-on: #26
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2025-04-28 16:29:33 +00:00

14 lines
411 B
JavaScript

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}],
}
}])