Documentation
    Preparing search index...

    Utility function to make it easy to strictly type your "Flat" config file

    // @ts-check

    import { defineConfig } from '@map-colonies/eslint-config/helpers';
    import tsBaseConfig from '@map-colonies/eslint-config/ts-base';

    export default defineConfig([tsBaseConfig]);
    • Helper function to define a config array.

      Parameters

      • ...args: ConfigWithExtendsArray

        The arguments to the function.

      Returns Config[]

      The config array.

      If no arguments are provided or if an argument is not an object.