molindo / eslint-config-molindo

ESLint config that implements the Molindo styleguide and helps to catch errors.
MIT License
1 stars 2 forks source link

Allow spaced-comment for TypeScript type imports #69

Closed amannn closed 2 years ago

amannn commented 2 years ago

TypeScript has this special syntax:

/// <reference types="jest" />

We should configure spaced-comment to allow this:

    'spaced-comment': [
      'error',
      'always',
      {
        line: {
          markers: ['/'],
          exceptions: ['/']
        }
      }
    ]