mirror of
https://github.com/web-infra-dev/midscene.git
synced 2025-07-03 15:10:20 +00:00
32 lines
651 B
JavaScript
32 lines
651 B
JavaScript
![]() |
const { banWords } = require('cspell-ban-words');
|
||
|
|
||
|
module.exports = {
|
||
|
version: '0.2',
|
||
|
language: 'en',
|
||
|
files: ['**/*.{ts,tsx,js,jsx,md,mdx}'],
|
||
|
enableFiletypes: ['mdx'],
|
||
|
ignoreRegExpList: [
|
||
|
// ignore markdown anchors such as [modifyRsbuildConfig](#modifyrsbuildconfig)
|
||
|
'#.*?\\)',
|
||
|
],
|
||
|
ignorePaths: [
|
||
|
'dist',
|
||
|
'dist-*',
|
||
|
'compiled',
|
||
|
'coverage',
|
||
|
'doc_build',
|
||
|
'node_modules',
|
||
|
'pnpm-lock.yaml',
|
||
|
'midscene_run',
|
||
|
],
|
||
|
flagWords: banWords,
|
||
|
dictionaries: ['dictionary'],
|
||
|
dictionaryDefinitions: [
|
||
|
{
|
||
|
name: 'dictionary',
|
||
|
path: './scripts/dictionary.txt',
|
||
|
addWords: true,
|
||
|
},
|
||
|
],
|
||
|
};
|