Skip to content

Commit

Permalink
🎨 Switched to eslint plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
aileen committed May 2, 2018
1 parent 2f9b1b1 commit df66855
Show file tree
Hide file tree
Showing 6 changed files with 343 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: ['ghost'],
extends: [
'plugin:ghost/node'
]
};
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ app/uploads/**
# editor
.idea
*.*~

# eslint
.eslintcache
6 changes: 6 additions & 0 deletions app/public/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: ['ghost'],
extends: [
'plugin:ghost/browser'
]
};
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
"bluebird": "^3.4.6",
"chalk": "^1.1.1",
"commander": "2.15.1",
"eslint": "^4.19.1",
"eslint-plugin-ghost": "0.0.23",
"express": "^4.16.2",
"express-hbs": "^1.0.3",
"extract-zip": "^1.6.5",
Expand Down
6 changes: 6 additions & 0 deletions test/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: ['ghost'],
extends: [
'plugin:ghost/test'
]
};
Loading

0 comments on commit df66855

Please sign in to comment.