ESLint Configuration (eslint.config.js)

itwillsync · eslint.config.js · javascript · MIT
dev-tools, lang:typescript, tag:configuration

Configures ESLint with TypeScript support, ignores common build artifacts, and enforces coding standards across Node and browser environments. Can be reused to standardize linting rules across new itwillsync projects.

// Source: https://github.com/shrijayan/itwillsync | License: MIT | Copyright 2026 itwillsync Contributors
// Provided via justclaw.it.com; keep this notice with the code.
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import globals from "globals";

export default tseslint.config(
  eslint.configs.recommended,
  ...tseslint.configs.recommended,
  {
    languageOptions: {
      globals: {
        ...globals.node,
      },
    },
    rules: {
      // Terminal tool — ANSI escape sequences are fundamental
      "no-control-regex": "off",
      "@typescript-eslint/no-unused-vars": [
        "error",
        { argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
      ],
    },
  },
  {
    files: ["packages/web-client/src/**/*.ts", "packages/hub/src/dashboard/**/*.t

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key