Skip to content

Commit

Permalink
chore: code-style
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Singh1 committed Jan 2, 2024
1 parent 33f9eb0 commit e6b67cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lib/rules/better-use-match.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { createValidator } from '../utils/createValidator';

export default createValidator({
name: 'include',
description:
'use @match instead of @include',
description: 'use @match instead of @include',
required: false,
validator: ({ attrVal, context }) => {
context.report({
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/compat-grant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import type { VersionAssertion } from '../data/version-assertion';

export default createValidator({
name: ['grant'],
description: 'ensures compatibility across targeted userscript managers when using grants',
description:
'ensures compatibility across targeted userscript managers when using grants',
required: false,
validator: ({ attrVal, context }) => {
if (!context.settings.userscriptVersions) {
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/compat-headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { cleanupRange } from '../utils/cleanupRange';

export default createValidator({
name: 'headers',
description: 'ensures compatibility across targeted userscript managers when using headers',
description:
'ensures compatibility across targeted userscript managers when using headers',
required: false,
validator: ({ attrVal, context }) => {
if (!context.settings.userscriptVersions) {
Expand Down

0 comments on commit e6b67cd

Please sign in to comment.