Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
# Enforce a single way to write specific terms or phrases.
|
||
extends: substitution
|
||
message: Use '%s' instead of '%s'
|
||
level: error
|
||
ignorecase: true # There is only one correct way to spell those, so we want to match inputs regardless of case.
|
||
# swap maps tokens in form of bad: good
|
||
# for more information: https://vale.sh/docs/topics/styles/#substitution
|
||
swap:
|
||
' api': ' API'
|
||
'typescript ': 'TypeScript '
|
||
' ts': ' TypeScript'
|
||
javascript: JavaScript
|
||
' js': ' JavaScript'
|
||
' css ': ' CSS '
|
||
' html ': ' HTML '
|
||
NPM: npm # https://css-tricks.com/start-sentence-npm/
|
||
Github: GitHub
|
||
StackOverflow: Stack Overflow
|
||
Stack Overflow: Stack Overflow
|
||
CSS modules: CSS Modules
|
||
Tailwind CSS: Tailwind CSS
|
||
Heat map: Heatmap
|
||
Tree map: Treemap
|
||
Sparkline Chart: Sparkline chart
|
||
Gauge Chart: Gauge chart
|
||
Treemap Chart: Treemap chart
|
||
sub-component: subcomponent
|
||
sub-components: subcomponents
|
||
use-case: use case
|
||
usecase: use case
|
||
Material 3: Material Design 3
|
||
VSCode: VS Code
|
||
VS Code: VS Code
|
||
'Codesandbox ': 'CodeSandbox '
|
||
code sandbox: CodeSandbox
|
||
Stackblitz: StackBlitz
|
||
Webpack: webpack # https://twitter.com/wSokra/status/855800490713649152
|
||
app router: App Router # Next.js
|
||
pages router: Pages Router # Next.js
|
||
page router: Pages Router # Next.js
|
||
eslint: ESLint
|
||
ES modules: ES modules
|