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

Merge branch 'assorted-fixes' of github.com:sasjs/lint into assorted-fixes

This commit is contained in:
Saad Jutt
2021-04-07 17:03:52 +05:00
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

@@ -6,7 +6,7 @@ import { trimComments } from '../utils/trimComments'
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[] = []
@@ -74,7 +74,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,