From 59ccffeba730ccf4c70081a1a828ee347b8d3ea1 Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Wed, 7 Apr 2021 10:38:28 +0000 Subject: [PATCH] fix: typos + PR review template for schema --- PULL_REQUEST_TEMPLATE.md | 1 + src/rules/hasMacroParentheses.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md index e6bc3c9..6800f22 100644 --- a/PULL_REQUEST_TEMPLATE.md +++ b/PULL_REQUEST_TEMPLATE.md @@ -16,5 +16,6 @@ What code changes have been made to achieve the intent. - [ ] Any new functionality has been unit tested. - [ ] All unit tests are passing (`npm test`). - [ ] All CI checks are green. +- [ ] sasjslint-schema.json is updated with any new / changed functionality - [ ] JSDoc comments have been added or updated. - [ ] Reviewer is assigned. diff --git a/src/rules/hasMacroParentheses.ts b/src/rules/hasMacroParentheses.ts index 6e9306b..cd7436b 100644 --- a/src/rules/hasMacroParentheses.ts +++ b/src/rules/hasMacroParentheses.ts @@ -7,7 +7,7 @@ import { getLineNumber } from '../utils/getLineNumber' import { getColumnNumber } from '../utils/getColumnNumber' const name = 'hasMacroParentheses' -const description = 'Enforces the presence of parantheses in macro definitions.' +const description = 'Enforces the presence of parentheses in macro definitions.' const message = 'Macro definition missing parentheses' const test = (value: string) => { const diagnostics: Diagnostic[] = [] @@ -66,7 +66,7 @@ const test = (value: string) => { } /** - * Lint rule that enforces the presence of parantheses in macro definitions.. + * Lint rule that enforces the presence of parentheses in macro definitions.. */ export const hasMacroParentheses: FileLintRule = { type: LintRuleType.File,