Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 724 Bytes

ts-server.md

File metadata and controls

39 lines (34 loc) · 724 Bytes

TypeScript Server Plugin Reference

The TypeScript server plugin can be enabled by the following settings in tsconfig.json:

{
  "compilerOptions": {
    // ...
    "plugins": [
      // ...
      {
        "name": "eslint-plugin-import-access"
      }
    ]
  }
}

In addition, options can be provided to the plugin:

{
  "compilerOptions": {
    // ...
    "plugins": [
      // ...
      {
        "name": "eslint-plugin-import-access",
        "jsdoc": {
          "indexLoophole": false,
          "filenameLoophole": true
        }
      }
    ]
  }
}

See details of the indexLoophole and filenameLoophole options at the reference of the import-access/jsdoc rule.