mirror of
https://github.com/hectorm/otpauth.git
synced 2026-05-07 20:12:27 +00:00
25 lines
543 B
JavaScript
25 lines
543 B
JavaScript
import eslintJs from "@eslint/js";
|
|
import eslintConfigPrettier from "eslint-config-prettier";
|
|
import globals from "globals";
|
|
|
|
/** @typedef {import("eslint").Linter.FlatConfig} FlatConfig */
|
|
|
|
/** @type {FlatConfig[]} */
|
|
export default [
|
|
eslintJs.configs.recommended,
|
|
eslintConfigPrettier,
|
|
{
|
|
languageOptions: {
|
|
ecmaVersion: 2024,
|
|
sourceType: "module",
|
|
globals: {
|
|
...globals.browser,
|
|
...globals.node,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
ignores: ["node_modules/**", "dist/**", "docs/**", "types/**"],
|
|
},
|
|
];
|