7 changed files with 20 additions and 14 deletions
@ -1,9 +0,0 @@ |
|||||
import createCommand from 'eslint-plugin-command/config'; |
|
||||
|
|
||||
export async function command() { |
|
||||
return [ |
|
||||
{ |
|
||||
...createCommand(), |
|
||||
}, |
|
||||
]; |
|
||||
} |
|
||||
@ -0,0 +1,15 @@ |
|||||
|
import type { OxlintConfig } from 'oxlint'; |
||||
|
|
||||
|
const command: OxlintConfig = { |
||||
|
jsPlugins: [ |
||||
|
{ |
||||
|
name: 'command', |
||||
|
specifier: 'eslint-plugin-command', |
||||
|
}, |
||||
|
], |
||||
|
rules: { |
||||
|
'command/command': 'error', |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
export { command }; |
||||
Loading…
Reference in new issue