-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Commit
* Install eslint-plugin-markdown@1.0.0-beta.7 * Add doc/.eslintrc.yaml * Add `plugins: [markdown]` to the main .eslintrc.yaml * .js files in doc folder added to .eslintignore * Update Makefile, vcbuild.bat, and tools/jslint.js Refs: #12563 Refs: #12640 Refs: #14047 PR-URL: #14067 Reviewed-By: James Snell <jasnell@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ test/tmp*/ | |
tools/eslint | ||
node_modules | ||
benchmark/tmp/ | ||
doc/**/*.js |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
root: true | ||
|
||
plugins: | ||
- markdown | ||
|
||
env: | ||
node: true | ||
es6: true | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Docs-specific linter rules | ||
|
||
rules: | ||
# ease some restrictions in doc examples | ||
no-restricted-properties: 0 | ||
no-undef: 0 | ||
no-unused-vars: 0 | ||
strict: 0 | ||
|
||
# add new ECMAScript features gradually | ||
no-var: 2 | ||
prefer-const: 2 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.