-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.autocorrectrc
145 lines (145 loc) · 2.43 KB
/
.autocorrectrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# yaml-language-server: $schema=https://huacnlee.github.io/autocorrect/schema.json
rules:
# Auto add spacing between CJK (Chinese, Japanese, Korean) and English words.
# 0 - off, 1 - error, 2 - warning
space-word: 1
# Add space between some punctuations.
space-punctuation: 1
# Add space between brackets (), [] when near the CJK.
space-bracket: 1
# Convert to fullwidth.
fullwidth: 1
# To remove space near the fullwidth punctuations.
no-space-fullwidth: 1
# To remove space arouned the fullwidth quotes “”, ''.
no-space-fullwidth-quote: 1
# Fullwidth alphanumeric characters to halfwidth.
halfwidth-word: 1
# Fullwidth punctuations to halfwidth in english.
halfwidth-punctuation: 1
# Spellcheck
spellcheck: 0
textRules:
# No default text rules.
spellcheck:
words:
- GitHub
- App Store
# This means "appstore" into "App Store"
- AppStore = App Store
- Git
- Node.js
- nodejs = Node.js
- VIM
- DNS
- HTTP
- SSL
fileTypes:
# HTML
html: html
htm: html
vue: html
ejs: html
html.erb: html
svelte: html
# YAML
yaml: yaml
yml: yaml
# Rust
rust: rust
rs: rust
# SQL
sql: sql
# Ruby
ruby: ruby
rb: ruby
Gemfile: ruby
Rakefile: ruby
Profile: ruby
gemspec: ruby
# Crystal
crystal: ruby
cr: ruby
# Elixir
elixir: elixir
ex: elixir
exs: elixir
# JavaScript
js: javascript
jsx: javascript
javascript: javascript
ts: javascript
tsx: javascript
typescript: javascript
js.erb: javascript
# CSS
css: css
scss: css
sass: css
less: css
# JSON
json: json
json5: json
# Go
go: go
# Python
python: python
py: python
# Objective-C
objective_c: objective_c
objective-c: objective_c
m: objective_c
h: objective_c
# Strings for Cocoa
strings: strings
# C#
csharp: csharp
cs: csharp
# Java
java: java
proto: java
# Scala
scala: scala
# Swift
swift: swift
# Kotlin
kotlin: kotlin
kt: kotlin
gradle: kotlin
# PHP
php: php
# Dart
dart: dart
# Markdown
markdown: markdown
md: markdown
mdx: markdown
# LaTeX
latex: latex
tex: latex
# AsciiDoc
asciidoc: asciidoc
adoc: asciidoc
asc: asciidoc
# Gettext
po: gettext
pot: gettext
# Conf
properties: conf
conf: conf
ini: conf
cfg: conf
toml: conf
# C / C++
cc: c
cpp: c
c: c
# XML
xml: xml
# Notebook
jupyter: jupyter
ipynb: jupyter
# Text
text: text
plain: text
txt: text