Merge pull request #731 from coliff/patch-1

Fix JavaScript capitalizaton
This commit is contained in:
Lukas Gravley 2020-09-16 08:08:08 -05:00 committed by GitHub
commit 06ddeb5929
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,8 @@ For some linters it is also possible to override rules on a case by case level w
- [Groovy](#groovy) - [Groovy](#groovy)
- [HTML](#html) - [HTML](#html)
- [Java](#java) - [Java](#java)
- [Javascript eslint](#javascript-eslint) - [JavaScript eslint](#javascript-eslint)
- [Javascript standard](#javascript-standard) - [JavaScript standard](#javascript-standard)
- [JSON](#json) - [JSON](#json)
- [Kotlin](#kotlin) - [Kotlin](#kotlin)
- [LaTeX](#latex) - [LaTeX](#latex)
@ -488,17 +488,17 @@ def variable = 1;
--- ---
## Javascript eslint ## JavaScript eslint
- [eslint](https://eslint.org/) - [eslint](https://eslint.org/)
### Javascript eslint Config file ### JavaScript eslint Config file
- `.github/linters/.eslintrc.yml` - `.github/linters/.eslintrc.yml`
- You can pass multiple rules and overwrite default rules - You can pass multiple rules and overwrite default rules
- File should be located at: `.github/linters/.eslintrc.yml` - File should be located at: `.github/linters/.eslintrc.yml`
### Javascript eslint disable single line ### JavaScript eslint disable single line
```javascript ```javascript
var thing = new Thing(); // eslint-disable-line no-use-before-define var thing = new Thing(); // eslint-disable-line no-use-before-define
@ -511,7 +511,7 @@ function Thing() {
} }
``` ```
### Javascript eslint disable code block ### JavaScript eslint disable code block
```javascript ```javascript
/*eslint-disable */ /*eslint-disable */
@ -522,7 +522,7 @@ alert("foo");
/*eslint-enable */ /*eslint-enable */
``` ```
### Javascript eslint disable entire file ### JavaScript eslint disable entire file
- Place at the top of the file: - Place at the top of the file:
@ -532,23 +532,23 @@ alert("foo");
--- ---
## Javascript standard ## JavaScript standard
- [standard js](https://standardjs.com/) - [standard js](https://standardjs.com/)
### Javascript standard Config file ### JavaScript standard Config file
- There is no top level _configuration file_ available at this time - There is no top level _configuration file_ available at this time
### Javascript standard disable single line ### JavaScript standard disable single line
- There is currently **No** way to disable rules inline of the file(s) - There is currently **No** way to disable rules inline of the file(s)
### Javascript standard disable code block ### JavaScript standard disable code block
- There is currently **No** way to disable rules inline of the file(s) - There is currently **No** way to disable rules inline of the file(s)
### Javascript standard disable entire file ### JavaScript standard disable entire file
- There is currently **No** way to disable rules inline of the file(s) - There is currently **No** way to disable rules inline of the file(s)