Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 732 Bytes

ts-server.md

File metadata and controls

40 lines (35 loc) · 732 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,
          "defaultImportability": "package"
        }
      }
    ]
  }
}

See details of these options at the reference of the import-access/jsdoc rule.