-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-format markdown; switch to double quotes for JS (#349)
* Add markdown to pre-commit prettier * Prettify markdown; use single quotes
- Loading branch information
1 parent
3c85d3a
commit 1369d39
Showing
26 changed files
with
1,835 additions
and
740 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,7 @@ repos: | |
hooks: | ||
- id: eslint | ||
files: ^js/.*$ | ||
'types': [file] # ESLint only accepts [javascript] by default. | ||
"types": [file] # ESLint only accepts [javascript] by default. | ||
args: | ||
- --ignore-path=.gitignore | ||
- --ignore-path=.eslintignore | ||
|
@@ -82,7 +82,6 @@ repos: | |
rev: v2.6.0 | ||
hooks: | ||
- id: prettier | ||
exclude: \.md$ # TODO: https://github.com/WordPress/openverse/issues/333 | ||
additional_dependencies: | ||
- [email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,11 +76,11 @@ repos: | |
rev: v8.15.0 | ||
hooks: | ||
- id: eslint | ||
files: {{ eslint_files | default('^js/.*$') }} | ||
files: {{ eslint_files | default("^js/.*$") }} | ||
{% if eslint_exclude %} | ||
exclude: {{ eslint_exclude }} # ESLint raises warnings for ignored files. | ||
{% endif %} | ||
'types': [file] # ESLint only accepts [javascript] by default. | ||
"types": [file] # ESLint only accepts [javascript] by default. | ||
args: | ||
- --ignore-path=.gitignore | ||
- --ignore-path=.eslintignore | ||
|
@@ -98,7 +98,6 @@ repos: | |
rev: v2.6.0 | ||
hooks: | ||
- id: prettier | ||
exclude: \.md$ # TODO: https://github.com/WordPress/openverse/issues/333 | ||
additional_dependencies: | ||
{% block prettier_dependencies %} | ||
- [email protected] | ||
|
Oops, something went wrong.