Ensures that the configuration interface name matches the first parameter of computeItemIdentifier
used beside the configuration interface to expose its ID (as generated by the configuration module).
{
"@o3r/matching-configuration-name": "error"
}
import { computeItemIdentifier } from '@o3r/core';
import { Configuration } from '@o3r/core';
export interface MyFirstConfig extends Configuration {}
export const MY_CONFIG_ID = computeItemIdentifier('MyFirstConfig', '@example/config');
import { computeItemIdentifier } from '@o3r/core';
import { Configuration } from '@o3r/core';
export interface MyConfig extends Configuration {}
export const MY_CONFIG_ID = computeItemIdentifier('InvalidName', '@example/config');