eslint-config-tcmlabs

0.0.1-alpha.2 • Public • Published

eslint-config-tcmlabs

A very opinionated ESLint configuration, with @typescript-eslint/parser and prettier preconfigured.

Enabling ESLint --fix on save in VS Code

{
  "editor.formatOnSave": true,
  "[javascript]": {
    "editor.formatOnSave": true // Ensure we still format config files in root folder
  },
  "[javascriptreact]": {
    "editor.formatOnSave": false
  },
  "[typescript]": {
    "editor.formatOnSave": false
  },
  "[typescriptreact]": {
    "editor.formatOnSave": false
  },
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "typescript",
      "autoFix": true
    },
    {
      "language": "typescriptreact",
      "autoFix": true
    }
  ]
}

Dependencies (6)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i eslint-config-tcmlabs

    Weekly Downloads

    1

    Version

    0.0.1-alpha.2

    License

    MIT

    Unpacked Size

    2.71 kB

    Total Files

    4

    Last publish

    Collaborators

    • jbmusso