mirror of
https://github.com/sasjs/lint.git
synced 2026-01-10 14:00:05 +00:00
fix: typos + PR review template for schema
This commit is contained in:
@@ -16,5 +16,6 @@ What code changes have been made to achieve the intent.
|
|||||||
- [ ] Any new functionality has been unit tested.
|
- [ ] Any new functionality has been unit tested.
|
||||||
- [ ] All unit tests are passing (`npm test`).
|
- [ ] All unit tests are passing (`npm test`).
|
||||||
- [ ] All CI checks are green.
|
- [ ] All CI checks are green.
|
||||||
|
- [ ] sasjslint-schema.json is updated with any new / changed functionality
|
||||||
- [ ] JSDoc comments have been added or updated.
|
- [ ] JSDoc comments have been added or updated.
|
||||||
- [ ] Reviewer is assigned.
|
- [ ] Reviewer is assigned.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { getLineNumber } from '../utils/getLineNumber'
|
|||||||
import { getColumnNumber } from '../utils/getColumnNumber'
|
import { getColumnNumber } from '../utils/getColumnNumber'
|
||||||
|
|
||||||
const name = 'hasMacroParentheses'
|
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 message = 'Macro definition missing parentheses'
|
||||||
const test = (value: string) => {
|
const test = (value: string) => {
|
||||||
const diagnostics: Diagnostic[] = []
|
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 = {
|
export const hasMacroParentheses: FileLintRule = {
|
||||||
type: LintRuleType.File,
|
type: LintRuleType.File,
|
||||||
|
|||||||
Reference in New Issue
Block a user