File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ import { defineConfig } from 'eslint/config';
33import eslintPlugin from 'eslint-plugin-eslint-plugin' ;
44
55export default defineConfig ( [
6+ {
7+ linterOptions : {
8+ reportUnusedDisableDirectives : 'error' ,
9+ } ,
10+ } ,
611 {
712 extends : [ eslintPlugin . configs . all ] ,
813 files : [ './index.js' , './rule.js' ] ,
Original file line number Diff line number Diff line change 11/** @type {import('eslint').Rule.RuleModule } */
22const rule = {
3+ // eslint-disable-next-line eslint-plugin/require-meta-schema
34 meta : {
45 type : 'suggestion' ,
56 docs : {
@@ -8,7 +9,6 @@ const rule = {
89 url : 'https://test.org' ,
910 } ,
1011 fixable : undefined , // or "code" or "whitespace"
11- schema : [ ] ,
1212 messages : {
1313 missingOutput : 'This is a test' ,
1414 } ,
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ import { defineConfig } from 'eslint/config';
33import eslintPlugin from 'eslint-plugin-eslint-plugin' ;
44
55export default defineConfig ( [
6+ {
7+ linterOptions : {
8+ reportUnusedDisableDirectives : 'error' ,
9+ } ,
10+ } ,
611 {
712 extends : [ eslintPlugin . configs . all ] ,
813 files : [ './index.js' , './rule.js' ] ,
Original file line number Diff line number Diff line change 11/** @type {import('eslint').Rule.RuleModule } */
22const rule = {
3+ // eslint-disable-next-line eslint-plugin/require-meta-schema
34 meta : {
45 type : 'suggestion' ,
56 docs : {
@@ -8,7 +9,6 @@ const rule = {
89 url : 'https://test.org' ,
910 } ,
1011 fixable : undefined , // or "code" or "whitespace"
11- schema : [ ] ,
1212 messages : {
1313 missingOutput : 'This is a test' ,
1414 } ,
You can’t perform that action at this time.
0 commit comments