(config: configOptions)
| 12 | let _watcher: chokidar.FSWatcher; |
| 13 | |
| 14 | export const getDeprecatedCSS = (config: configOptions) => { |
| 15 | const deprecated: string[] = []; |
| 16 | const deprecatedCSS = ['x-screen', 'x-row', 'cursor-node', '::selection']; |
| 17 | deprecatedCSS.forEach((css) => { |
| 18 | if (config.css?.includes(css) || config.termCSS?.includes(css)) { |
| 19 | deprecated.push(css); |
| 20 | } |
| 21 | }); |
| 22 | return deprecated; |
| 23 | }; |
| 24 | |
| 25 | const checkDeprecatedConfig = () => { |
| 26 | if (!cfg.config) { |
no test coverage detected