From 8b077e8396f430a13dc712eb9f44f308e9e2cbe3 Mon Sep 17 00:00:00 2001 From: Kia King Ishii Date: Mon, 25 Jan 2021 12:41:44 +0900 Subject: [PATCH] chore: fix eslint warning in example --- examples/classic/shopping-cart/api/shop.js | 6 +++--- examples/composition/shopping-cart/api/shop.js | 6 +++--- examples/webpack.config.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/classic/shopping-cart/api/shop.js b/examples/classic/shopping-cart/api/shop.js index 09d422d8c..708a5b77b 100644 --- a/examples/classic/shopping-cart/api/shop.js +++ b/examples/classic/shopping-cart/api/shop.js @@ -2,9 +2,9 @@ * Mocking client-server processing */ const _products = [ - {"id": 1, "title": "iPad 4 Mini", "price": 500.01, "inventory": 2}, - {"id": 2, "title": "H&M T-Shirt White", "price": 10.99, "inventory": 10}, - {"id": 3, "title": "Charli XCX - Sucker CD", "price": 19.99, "inventory": 5} + { 'id': 1, 'title': 'iPad 4 Mini', 'price': 500.01, 'inventory': 2 }, + { 'id': 2, 'title': 'H&M T-Shirt White', 'price': 10.99, 'inventory': 10 }, + { 'id': 3, 'title': 'Charli XCX - Sucker CD', 'price': 19.99, 'inventory': 5 } ] export default { diff --git a/examples/composition/shopping-cart/api/shop.js b/examples/composition/shopping-cart/api/shop.js index 09d422d8c..708a5b77b 100644 --- a/examples/composition/shopping-cart/api/shop.js +++ b/examples/composition/shopping-cart/api/shop.js @@ -2,9 +2,9 @@ * Mocking client-server processing */ const _products = [ - {"id": 1, "title": "iPad 4 Mini", "price": 500.01, "inventory": 2}, - {"id": 2, "title": "H&M T-Shirt White", "price": 10.99, "inventory": 10}, - {"id": 3, "title": "Charli XCX - Sucker CD", "price": 19.99, "inventory": 5} + { 'id': 1, 'title': 'iPad 4 Mini', 'price': 500.01, 'inventory': 2 }, + { 'id': 2, 'title': 'H&M T-Shirt White', 'price': 10.99, 'inventory': 10 }, + { 'id': 3, 'title': 'Charli XCX - Sucker CD', 'price': 19.99, 'inventory': 5 } ] export default { diff --git a/examples/webpack.config.js b/examples/webpack.config.js index 54c03c14b..96507c71b 100644 --- a/examples/webpack.config.js +++ b/examples/webpack.config.js @@ -65,7 +65,7 @@ module.exports = { new webpack.DefinePlugin({ __DEV__: JSON.stringify(true), 'process.env': { - NODE_ENV: JSON.stringify(process.env.NODE_ENV), + NODE_ENV: JSON.stringify(process.env.NODE_ENV) } }) ]