We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a63e055 commit 4cae180Copy full SHA for 4cae180
packages/eslint-plugin-svelte/src/rules/prefer-const-helpers/index.ts
@@ -1,3 +1,9 @@
1
+/**
2
+ * Atributions:
3
+ * Rule and helpers are adapted from ESLint
4
+ * https://github.com/eslint/eslint/blob/main/lib/rules/prefer-const.js
5
+ */
6
+
7
import type { Reference, Variable, Scope } from '@typescript-eslint/scope-manager';
8
import type { TSESTree, AST_NODE_TYPES } from '@typescript-eslint/types';
9
packages/eslint-plugin-svelte/src/rules/prefer-const.ts
@@ -8,11 +8,6 @@ import {
isInitOfForStatement
} from './prefer-const-helpers';
10
11
-/**
12
- * Rule and helpers are copied from ESLint
13
- * https://github.com/eslint/eslint/blob/main/lib/rules/prefer-const.js
14
- */
15
-
16
export default createRule('prefer-const', {
17
meta: {
18
type: 'suggestion',
0 commit comments