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) {
91
91
92
92
module . exports = {
93
93
meta : {
94
- type : 'problem ' ,
94
+ type : 'suggestion ' ,
95
95
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.' ,
97
98
recommended : false ,
98
99
url : docsUrl ( 'extensions' ) ,
99
100
} ,
@@ -155,7 +156,6 @@ module.exports = {
155
156
return getModifier ( extension ) === 'never' ;
156
157
}
157
158
158
- // Updated: This helper now determines resolvability based on the passed options.
159
159
// If the configured option for the extension is "never", we return true immediately.
160
160
function isResolvableWithoutExtension ( file , ext ) {
161
161
if ( isUseOfExtensionForbidden ( ext ) ) {
You can’t perform that action at this time.
0 commit comments