I’m working on my first plugin but am having trouble with the linter. I think I’ve configured some acronyms for the obsidianmd/ui/sentence-case rule to ignore correctly, as VS Code recognises the changed settings. However if I run npm run lint then I see errors. Does anyone have any experience/advice?
```ts
export default tseslint.config(
…obsidianmd.configs.recommended,
{
languageOptions: {
globals: {
…globals.browser,
},
parserOptions: {
projectService: {
allowDefaultProject: [
‘eslint.config.js’,
‘manifest.json’
]
},
tsconfigRootDir: import.meta.dirname,
extraFileExtensions: [‘.json’]
},
},
plugins: {
obsidianmd
},
rules: {
“obsidianmd/ui/sentence-case”: [“error”, {
“acronyms”: [“IMDb”, “OMDb”, “API”],
“allowAutoFix”: true
}]
}
},
globalIgnores([
“node_modules”,
“dist”,
“esbuild.config.mjs”,
“eslint.config.js”,
“version-bump.mjs”,
“versions.json”,
“main.js”,
]),
);
```