Use a custom ESLint rule list (#27)

* Use a custom eslint rule list

* Sort rules

* Relax some rules
This commit is contained in:
Dan Abramov
2016-07-20 00:12:49 +01:00
committed by GitHub
parent b8a2b98d57
commit 3d77f5be20
9 changed files with 311 additions and 25 deletions

14
config/babel.dev.js Normal file
View File

@@ -0,0 +1,14 @@
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
module.exports = {
cacheDirectory: true,
presets: ['es2015', 'es2016', 'react'],
plugins: ['transform-object-rest-spread']
};