File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,10 @@ function buildProperties(context) {
9191
9292module . exports = {
9393 meta : {
94- type : 'problem ' ,
94+ type : 'suggestion ' ,
9595 docs : {
96- description : 'Enforce that import statements either always include or never include allowed file extensions.' ,
96+ category : 'Style guide' ,
97+ description : 'Ensure consistent use of file extension within the import path.' ,
9798 recommended : false ,
9899 url : docsUrl ( 'extensions' ) ,
99100 } ,
@@ -155,7 +156,6 @@ module.exports = {
155156 return getModifier ( extension ) === 'never' ;
156157 }
157158
158- // Updated: This helper now determines resolvability based on the passed options.
159159 // If the configured option for the extension is "never", we return true immediately.
160160 function isResolvableWithoutExtension ( file , ext ) {
161161 if ( isUseOfExtensionForbidden ( ext ) ) {
You can’t perform that action at this time.
0 commit comments