Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Mar 8, 2021
1 parent 9147619 commit d6a357a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
8 changes: 0 additions & 8 deletions .eslintrc

This file was deleted.

18 changes: 18 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root: true
extends:
- plugin:markdown/recommended
plugins:
- markdown
overrides:
- files: '**/*.md'
processor: 'markdown/markdown'
rules:
eol-last: error
indent:
- error
- 2
- SwitchCase: 1
no-trailing-spaces: error
semi:
- error
- never
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"after": "0.8.2",
"eslint": "7.21.0",
"eslint-plugin-markdown": "1.0.2",
"eslint-plugin-markdown": "2.0.0",
"finalhandler": "1.1.2",
"istanbul": "0.4.5",
"mocha": "8.3.0",
Expand All @@ -38,7 +38,7 @@
"node": ">= 0.8"
},
"scripts": {
"lint": "eslint --plugin markdown --ext js,md .",
"lint": "eslint .",
"test": "mocha --reporter spec --bail --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
Expand Down

0 comments on commit d6a357a

Please sign in to comment.