Skip to content

Commit

Permalink
bump eslint-config-xo
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Oct 11, 2016
1 parent d5fe717 commit d235b2d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* text=auto
*.js text eol=lf
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,16 @@
"simple"
],
"dependencies": {
"eslint-config-xo": "^0.15.0"
"eslint-config-xo": "^0.17.0"
},
"devDependencies": {
"ava": "*",
"babel-eslint": "^6.0.2",
"clear-require": "^1.0.1",
"eslint": "^3.1.0",
"eslint-plugin-babel": "^3.0.0",
"eslint": "^3.7.1",
"is-plain-obj": "^1.0.0",
"temp-write": "^2.0.1"
},
"peerDependencies": {
"eslint": ">=3.1.0"
"eslint": ">=3.7.0"
}
}
12 changes: 2 additions & 10 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for [XO](https://github.com/sindresorhus/xo) with 2-space indent
This is for advanced users. You probably want to use XO directly.
This is for advanced users. [You probably want to use XO directly.](https://github.com/sindresorhus/eslint-config-xo#use-the-xo-cli-instead)


## Install
Expand All @@ -11,14 +11,6 @@ This is for advanced users. You probably want to use XO directly.
$ npm install --save-dev eslint-config-xo-space
```

For the `esnext` version you'll also need Babel's ESLint [parser](https://github.com/babel/babel-eslint) and [plugin](https://github.com/babel/eslint-plugin-babel):

```
$ npm install --save-dev babel-eslint eslint-plugin-babel
```

This will let you use ES2016 features like [`async`/`await`](https://github.com/lukehoban/ecmascript-asyncawait) and [decorators](https://github.com/wycats/javascript-decorators). For a full list of features see [Babel's experimental features](https://babeljs.io/docs/usage/experimental/) and their [Learn ES2015](https://babeljs.io/docs/learn-es2015/).


## Usage

Expand All @@ -41,7 +33,7 @@ Or to `.eslintrc`:
}
```

Supports parsing ES2015, but doesn't enforce it by default.
Supports parsing ES2015+, but doesn't enforce it by default.

This package also exposes [`xo-space/esnext`](esnext.js) if you want ES2015+ rules:

Expand Down

0 comments on commit d235b2d

Please sign in to comment.