0.0.1-alpha.2 • Published 5 years ago

eslint-config-tcmlabs v0.0.1-alpha.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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
    }
  ]
}