Skip to content

Commit fd18737

Browse files
revert: remove ai generated parts
1 parent 983835f commit fd18737

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rules/extensions.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,10 @@ function buildProperties(context) {
9191

9292
module.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)) {

0 commit comments

Comments
 (0)