File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ module.exports = {
33
33
recommended : false ,
34
34
url : null , // TODO: URL to the documentation page for this rule
35
35
} ,
36
- fixable : null , // Or `code` or `whitespace`
36
+ fixable : null ,
37
37
schema : [
38
38
{
39
39
additionalProperties : {
@@ -47,15 +47,15 @@ module.exports = {
47
47
return {
48
48
Program : ( node ) => {
49
49
const rules = context . options [ 0 ] ;
50
- const invalidPatter = checkNamingConfig ( rules ) ;
50
+ const invalidPattern = checkNamingConfig ( rules ) ;
51
51
52
- if ( invalidPatter ) {
52
+ if ( invalidPattern ) {
53
53
context . report ( {
54
54
node,
55
55
message :
56
- 'There is an unsupported naming pattern "{{invalidPatter }}", please check it.' ,
56
+ 'There is an unsupported naming style "{{invalidPattern }}", please check it.' ,
57
57
data : {
58
- invalidPatter ,
58
+ invalidPattern ,
59
59
} ,
60
60
} ) ;
61
61
return ;
You can’t perform that action at this time.
0 commit comments