forked from mysticatea/eslint-plugin-node
-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
We should probably look to add some super basic types I currently use:
declare module 'eslint-plugin-n' {
import type { ESLint, Linter, Rule } from 'eslint';
export default {} as {
meta: {
name: string;
version: string;
};
rules: Record<string, Rule.RuleModule>;
configs: {
'recommended-module': ESLint.ConfigData
'recommended-script': ESLint.ConfigData
'recommended': ESLint.ConfigData
'flat/recommended-module': Linter.FlatConfig
'flat/recommended-script': Linter.FlatConfig
'flat/recommended': Linter.FlatConfig
'flat/mixed-esm-and-cjs': Linter.FlatConfig
}
};
}
Logicer16 and voxpelli