Skip to content

Commit

Permalink
Move eslint configs to own file (easier to integrate in third party)
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Jun 18, 2017
1 parent 948f8dc commit 3f465b4
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
21 changes: 21 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,21 @@
module.exports = {
'extends': 'xo-space',
'env': {
'mocha': true
},
'rules': {
'quotes': [
'error',
'single'
],
'no-multi-assign': 'off',
'capitalized-comments': 'off',
'no-unused-expressions': 'off',
'handle-callback-err': 'off',
'no-eq-null': 'off',
'eqeqeq': [
'error',
'allow-null'
]
}
};
21 changes: 0 additions & 21 deletions package.json
Expand Up @@ -54,26 +54,5 @@
"mocha": "^3.4.2",
"mockery": "^2.0.0",
"sinon": "^2.3.4"
},
"eslintConfig": {
"extends": "xo-space",
"env": {
"mocha": true
},
"rules": {
"quotes": [
"error",
"single"
],
"no-multi-assign": "off",
"capitalized-comments": "off",
"no-unused-expressions": "off",
"handle-callback-err": "off",
"no-eq-null": "off",
"eqeqeq": [
"error",
"allow-null"
]
}
}
}

0 comments on commit 3f465b4

Please sign in to comment.