Skip to content

Commit

Permalink
Merge pull request #11 from segayuu/fix-8
Browse files Browse the repository at this point in the history
fix #8
  • Loading branch information
JLHwung committed Aug 4, 2018
2 parents 05564f0 + 06898fc commit d50324a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 104 deletions.
9 changes: 4 additions & 5 deletions eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ module.exports = {
'array-callback-return': 'error',
'block-scoped-var': 'error',
'dot-notation': 'error',
/** eqeqeq Deprecated option. @see https://github.com/hexojs/eslint-config-hexo/issues/8 */
'eqeqeq': ['error', 'allow-null'],
'eqeqeq': ['error', 'always', { null: 'ignore' }],
'no-else-return': 'error',
'no-eval': 'error',
'no-extend-native': 'error',
Expand Down Expand Up @@ -40,7 +39,7 @@ module.exports = {
'no-with': 'error',
'prefer-promise-reject-errors': 'error',
'radix': 'error',
'yoda': ['error', 'never'],
'yoda': 'error',
// Strict Mode
'strict': 'error',
// Variables
Expand All @@ -52,7 +51,7 @@ module.exports = {
'handle-callback-err': 'error',
'no-path-concat': 'error',
// Stylistic Issues
'linebreak-style': ['error', 'unix'],
'linebreak-style': 'error',
'new-cap': 'error',
'new-parens': 'error',
'no-array-constructor': 'error',
Expand All @@ -63,7 +62,7 @@ module.exports = {
uninitialized: 'always',
initialized: 'never'
}],
'spaced-comment': ['error', 'always'],
'spaced-comment': 'error',
// ECMAScript 6
'no-duplicate-imports': 'error',
'no-useless-computed-key': 'error',
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@
],
"license": "MIT",
"peerDependencies": {
"eslint": ">=5.0.0"
},
"dependencies": {
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-node": "^7.0.0",
"eslint-plugin-prettier": "^2.6.2"
"eslint": ">=5.0.0",
"eslint-config-prettier": ">=2.9.0",
"eslint-plugin-node": ">=7.0.0",
"eslint-plugin-prettier": ">=2.6.2"
}
}
93 changes: 0 additions & 93 deletions yarn.lock

This file was deleted.

0 comments on commit d50324a

Please sign in to comment.