Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit d48b56a

Browse files
Add React 16 ruleset 🎉
1 parent 06b6daf commit d48b56a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

‎environments/react/v16.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/**
2+
* Js-coding-standards
3+
*
4+
* @author Robert Rossmann <rr.rossmann@me.com>
5+
* @copyright 2017 STRV
6+
* @license http://choosealicense.com/licenses/bsd-3-clause BSD-3-Clause License
7+
*/
8+
9+
'use strict'
10+
11+
module.exports = {
12+
13+
extends: [
14+
'./v15.js',
15+
],
16+
17+
// Configures the react plugin to treat some rules with regard to this specific React.js version
18+
settings: {
19+
react: {
20+
version: '16',
21+
},
22+
},
23+
}

0 commit comments

Comments
 (0)