mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-12 19:58:54 +08:00
Use a custom ESLint rule list (#27)
* Use a custom eslint rule list * Sort rules * Relax some rules
This commit is contained in:
14
config/babel.dev.js
Normal file
14
config/babel.dev.js
Normal 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']
|
||||
};
|
||||
Reference in New Issue
Block a user