Skip to content

Commit

Permalink
Add .eslintignore to exclude local docs/ site from lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kadamwhite committed Aug 12, 2019
1 parent e6338f0 commit 5f59a25
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# /node_modules/* and /bower_components/* in the project root are ignored by default

# Ignore generated files
**/__snapshots__/

# Ignore documentation site
docs/

10 changes: 5 additions & 5 deletions src/vendor/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module.exports = {
"env": {
"node": true,
"commonjs": true,
"jest": true,
"es6": true
"node": true,
"commonjs": true,
"jest": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018
"ecmaVersion": 2018
},
};

0 comments on commit 5f59a25

Please sign in to comment.