We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26384d3 commit b93f408Copy full SHA for b93f408
1 file changed
docs/src/use/configure/configuration-files.md
@@ -286,6 +286,26 @@ export default [
286
{
287
settings: {
288
sharedData: "Hello"
289
+ },
290
+ plugins: {
291
+ customPlugin: {
292
+ rules: {
293
+ "my-rule": {
294
+ meta: {
295
+ // custom rule's meta information
296
297
+ create(context) {
298
+ const sharedData = context.settings.sharedData;
299
+ return {
300
+ // code
301
+ };
302
+ }
303
304
305
306
307
308
+ "customPlugin/my-rule": "error"
309
}
310
311
];
0 commit comments