Skip to content

Commit

Permalink
feat(): set ES6 as default configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
5im0n committed Oct 9, 2016
1 parent d8d6f24 commit 03c78bd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';

// load default configuration
module.exports = require('./configurations/es5');
module.exports = require('./configurations/es6');

0 comments on commit 03c78bd

Please sign in to comment.