-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
It's kind of weird but if we export the default hyperparam eslint rule in the hyperparam eslint package, we could just import the default rules in all the related packages. Could still override individual rules like so:
import javascript from '@eslint/js'
import { hyperparamEslintRules } from 'hyperparam'
export default [
rules: {
...javascript.configs.recommended.rules,
...hyperparamEslintRules,
// jsdoc needs extra parens:
'no-extra-parens': ['error', 'all', {
'allowParensAfterCommentPattern': '@type', // allow jsdoc
}],
},
},
]
I'm not totally sold on this specific solution. But I was updating eslint rules in icebird and it would be nice if we had standardization across repos.
Metadata
Metadata
Assignees
Labels
No labels