From 03c78bd1640e46bc328f68f5b51cfb58f0d8eb5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20MAH=C3=89?= Date: Sun, 9 Oct 2016 18:24:19 +0200 Subject: [PATCH] feat(): set ES6 as default configuration --- README.md | 24 ++++++++++++------------ index.js | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 83bcbfe..6155cb2 100644 --- a/README.md +++ b/README.md @@ -85,18 +85,7 @@ This package includes the following configurations: ### Standalone -#### ES5 (default) - -This is a collection of [rules][6] regarding possible errors, best practices, strict mode, variables and stylistic issues. -> This default configuration enforces neither `env` nor `globals` settings. You may have to set individually on your project - -```json -{ - "extends": "pouloum" -} -``` - -#### ES6 +#### ES6 (default) If your project is written in ECMAScript-6, you can extend with the ES6 subset of configuration. @@ -114,6 +103,17 @@ If your project is written in ECMAScript-6, you can extend with the ES6 subset o } ``` +#### ES5 + +This is a collection of [rules][6] regarding possible errors, best practices, strict mode, variables and stylistic issues. +> This configuration enforces neither `env` nor `globals` settings. You may have to set individually on your project + +```json +{ + "extends": "pouloum" +} +``` + ### Extended diff --git a/index.js b/index.js index 543cfc2..81329b5 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ 'use strict'; // load default configuration -module.exports = require('./configurations/es5'); +module.exports = require('./configurations/es6');