UNPKG

@salaros/is-biz-mail

Version:

isBizMail tells you whether a given email address is free (gmail.com, yahoo.es, yandex.ru etc) or not

51 lines (44 loc) 1.16 kB
import eslint from '@eslint/js'; import tseslint from 'typescript-eslint'; import prettier from "eslint-config-prettier"; import globals from "globals"; export default tseslint.config( // global ignores { ignores: ["dist/", "node_modules/" ], }, // applies to everything eslint.configs.recommended, // applies only to ts files { name: "tseslint", files: ["src/**/*.ts"], extends: [ // ...tseslint.configs.recommendedTypeChecked, ...tseslint.configs.strictTypeChecked, ], plugins: { "@typescript-eslint": tseslint.plugin, }, languageOptions: { parser: tseslint.parser, parserOptions: { project: false, }, }, rules: { "@typescript-eslint/no-unused-vars": "off", }, }, // global variables, applies to everything { languageOptions: { globals: { ...globals.node, }, }, }, // prettier config prettier );