
To be followed by tests and `npm run build`, obviously! Reviewed-on: #1 Co-authored-by: Jack Jackson <scubbojj@gmail.com> Co-committed-by: Jack Jackson <scubbojj@gmail.com>
15 lines
558 B
JavaScript
15 lines
558 B
JavaScript
// TODO - this was setup with `npm init @eslint/config@latest`, so has mostly just standard defaults.
|
|
// Return to it and tweak 'em (and see if converting to TypeScript has any value!)
|
|
import globals from "globals";
|
|
import pluginJs from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
|
|
/** @type {import('eslint').Linter.Config[]} */
|
|
export default [
|
|
{files: ["**/*.{js,mjs,cjs,ts}"]},
|
|
{ignores: ["node_modules/", "dist/"]},
|
|
{languageOptions: { globals: globals.browser }},
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
]; |