Skip to content

Commit

Permalink
signal type for plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-zhang-at-salesforce committed May 14, 2024
1 parent a04b69b commit b47dbbc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/

import type { Linter } from '@typescript-eslint/utils/ts-eslint';

import base from './configs/base.js';
import recommended from './configs/recommended.js';
import enforceFooBar from './rules/enforce-foo-bar.js';

export = {
rules: {
'enforce-foo-bar': enforceFooBar
},
configs: {
base,
recommended
},
rules: {
'enforce-foo-bar': enforceFooBar
}
};
} satisfies Linter.Plugin;

0 comments on commit b47dbbc

Please sign in to comment.