Skip to content

Commit

Permalink
reformat js files
Browse files Browse the repository at this point in the history
  • Loading branch information
Prettier authored and mrkvon committed Feb 12, 2020
1 parent f42a806 commit 54bf1e7
Show file tree
Hide file tree
Showing 404 changed files with 19,522 additions and 15,208 deletions.
13 changes: 8 additions & 5 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ const isDevelopment = process.env.NODE_ENV === 'development';

module.exports = {
presets: [
['@babel/preset-env', {
corejs: 2,
modules: 'commonjs',
useBuiltIns: 'usage',
}],
[
'@babel/preset-env',
{
corejs: 2,
modules: 'commonjs',
useBuiltIns: 'usage',
},
],
['@babel/preset-react'],
],
plugins: compact([
Expand Down
4 changes: 2 additions & 2 deletions bin/db-drop.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ if (process.env.NODE_ENV === 'production') {
// Use mongoose configuration
const mongooseService = require('../config/lib/mongoose.js');

mongooseService.connect(function (db) {
mongooseService.dropDatabase(db, function () {
mongooseService.connect(function(db) {
mongooseService.dropDatabase(db, function() {
mongooseService.disconnect();
});
});
Loading

0 comments on commit 54bf1e7

Please sign in to comment.