Skip to content

Commit

Permalink
Upgrade to ESLint 5 (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 24, 2018
1 parent 00d6b7c commit 71d06a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions lib/options-manager.js
Expand Up @@ -33,6 +33,7 @@ const DEFAULT_CONFIG = {
useEslintrc: false,
cache: true,
cacheLocation: path.join(os.homedir() || os.tmpdir(), '.xo-cache/'),
globInputPaths: false,
baseConfig: {
extends: [
'xo',
Expand Down Expand Up @@ -67,6 +68,9 @@ const DEFAULT_CONFIG = {
const ENGINE_RULES = {
'promise/prefer-await-to-then': {
'7.6.0': 'error'
},
'prefer-object-spread': {
'8.0.0': 'error'
}
};

Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -53,9 +53,9 @@
"dependencies": {
"arrify": "^1.0.1",
"debug": "^3.1.0",
"eslint": "^4.19.1",
"eslint": "^5.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-xo": "^0.22.0",
"eslint-config-xo": "^0.23.0",
"eslint-formatter-pretty": "^1.3.0",
"eslint-plugin-ava": "^4.5.0",
"eslint-plugin-import": "^2.11.0",
Expand Down

0 comments on commit 71d06a0

Please sign in to comment.