12 lines
356 B
JavaScript
12 lines
356 B
JavaScript
import globals from "globals";
|
|
import pluginJs from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default [
|
|
{files: ["**/*.{js,mjs,cjs,ts}"]},
|
|
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
|
|
{languageOptions: {globals: globals.node}},
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
];
|