UNPKG

universal-fs

Version:

Allows a client or server to access the file system in the current codebase or a different one.

28 lines (25 loc) 519 B
//@ts-check import typescript from "@typescript-eslint/eslint-plugin"; import typescriptParser from "@typescript-eslint/parser"; export default [ { files: [ "**/*.js", "**/*.cjs", "**/*.mjs", "**/*.ts", "**/*.spec.ts" ], languageOptions: { parser: typescriptParser }, plugins: { typescript }, rules: { "prefer-const": "warn", "prefer-arrow-callback": "warn" }, ignores: ["**/node_modules/**", "dist/**", ".github/**"] } ];