diff --git a/.gitattributes b/.gitattributes index 176a458..391f0a4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ * text=auto +*.js text eol=lf diff --git a/package.json b/package.json index 88aaef5..a437f95 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/readme.md b/readme.md index 3d6b84a..baece75 100644 --- a/readme.md +++ b/readme.md @@ -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 @@ -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 @@ -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: