mirror of
https://github.com/YuzuZensai/TrollSSH.git
synced 2026-09-13 16:39:06 +00:00
22 lines
526 B
JavaScript
22 lines
526 B
JavaScript
// @ts-check
|
|||
|
|
import eslint from "@eslint/js";
|
||
|
|
import tseslint from "typescript-eslint";
|
||
|
|
import eslintConfigPrettier from "eslint-config-prettier";
|
||
|
|
|
||
|
|
export default tseslint.config(
|
||
|
|
eslint.configs.recommended,
|
||
|
|
tseslint.configs.recommended,
|
||
|
|
eslintConfigPrettier,
|
||
|
|
{
|
||
|
|
rules: {
|
||
|
|
"@typescript-eslint/no-unused-vars": [
|
||
|
|
"error",
|
||
|
|
{ argsIgnorePattern: "^_" },
|
||
|
|
],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
ignores: ["dist/**", "config/**", "node_modules/**"],
|
||
|
|
}
|
||
|
|
);
|