Skip to content

Commit 27c6f60

Browse files
Merge pull request #2182 from mightyiam/no-script-url
feat!: no-script-url
2 parents bfaa1ed + c8fa077 commit 27c6f60

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

src/plugin-usage/eslint.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ const usage: PluginUsage = {
112112
'no-prototype-builtins': ['error'],
113113
'no-regex-spaces': ['error'],
114114
'no-return-assign': ['error', 'except-parens'],
115+
'no-script-url': ['error'],
115116
'no-self-assign': ['error', { props: true }],
116117
'no-self-compare': ['error'],
117118
'no-sequences': ['error'],

src/test/_rules_to_consider.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export const rulesToConsider: Record<string, string[]> = {
1717
'no-restricted-globals',
1818
'no-restricted-properties',
1919
'no-restricted-syntax',
20-
'no-script-url',
2120
'no-setter-return',
2221
'no-ternary',
2322
'no-undef',

src/test/expected-exported-value/_eslint.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export const expectedEslintRules: Record<
112112
'no-prototype-builtins': ['error'],
113113
'no-regex-spaces': ['error'],
114114
'no-return-assign': ['error', 'except-parens'],
115+
'no-script-url': ['error'],
115116
'no-self-assign': ['error', { props: true }],
116117
'no-self-compare': ['error'],
117118
'no-sequences': ['error'],

0 commit comments

Comments
 (0)