Utility function to make it easy to strictly type your "Flat" config file
// @ts-checkimport { defineConfig } from '@map-colonies/eslint-config/helpers';import tsBaseConfig from '@map-colonies/eslint-config/ts-base';export default defineConfig([tsBaseConfig]); Copy
// @ts-checkimport { 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.
The arguments to the function.
The config array.
If no arguments are provided or if an argument is not an object.
Utility function to make it easy to strictly type your "Flat" config file
Example