Repository navigation
W-17599563 fix: use eslint 9 - #1673
Conversation
|
@mdonnalley Thanks for working on this! |
|
QA notes: setup: import {Command} from '@oclif/core'
import { EOL } from 'os'
export default class World extends Command {
static args = {}
static description = 'Say hello world'
static examples = [
`<%= config.bin %> <%= command.id %>
hello world! (./src/commands/hello/world.ts)
`,
]
static flags = {}
async run(): Promise<void> {
console.log(EOL)
this.log('hello world! (./src/commands/hello/world.ts)')
}
}✅ CJS/ESM plugins work with default eslint v9 config ( ❌ missing ✅ eslint-plugin-mocha rules apply in tests ✅ if we don't want to bring in another ditto: |
Use eslint 9 config
Depends on oclif/eslint-config-oclif#122
Fixes #1665
@W-17599563@