1
0
mirror of https://github.com/sasjs/lint.git synced 2025-12-10 17:34:36 +00:00

fix: typos + PR review template for schema

This commit is contained in:
Allan Bowe
2021-04-07 10:38:28 +00:00
parent b87fb4dca6
commit 59ccffeba7
2 changed files with 3 additions and 2 deletions

View File

@@ -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.

View File

@@ -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,