19 lines
472 B
JavaScript
19 lines
472 B
JavaScript
import globals from "globals";
|
|
import pluginJs from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import eslintConfigPrettier from "eslint-config-prettier";
|
|
import onlyWarn from "eslint-plugin-only-warn";
|
|
|
|
/** @type {import('eslint').Linter.Config[]} */
|
|
export default [
|
|
{ languageOptions: { globals: globals.node } },
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
eslintConfigPrettier,
|
|
{
|
|
plugins: {
|
|
onlyWarn,
|
|
},
|
|
},
|
|
];
|