MartaAG / bestRestaurants

best restaurants in Wroclaw
1 stars 2 forks source link

Linter lints warnings #1

Open Udiknedormin opened 4 years ago

Udiknedormin commented 4 years ago
npm run serve

> best-restaurants@0.1.0 serve (...)/bestRestaurants
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting CopyPlugin

 WARNING  Compiled with 7 warnings                            19:39:45

Module Warning (from ./node_modules/eslint-loader/index.js):

(...)/bestRestaurants/src/App.vue
   3:3   warning  Insert `··`                                                                                                                                      prettier/prettier
   4:1   warning  Insert `··`                                                                                                                                      prettier/prettier
   5:1   warning  Replace `⏎⏎······<v-app-bar⏎········app⏎········color="brown·darken-4"⏎········dark` with `········<v-app-bar·app·color="brown·darken-4"·dark>`  prettier/prettier
  11:3   warning  Delete `····>⏎⏎`                                                                                                                                 prettier/prettier
  14:7   warning  Insert `··`                                                                                                                                      prettier/prettier
  16:7   warning  Insert `··`                                                                                                                                      prettier/prettier
  17:1   warning  Replace `········<v-container⏎··········class="fill-height"` with `··········<v-container·class="fill-height">`                                  prettier/prettier
  19:9   warning  Delete `··>⏎······`                                                                                                                              prettier/prettier
  21:1   warning  Insert `··`                                                                                                                                      prettier/prettier
  22:15  warning  Insert `··`                                                                                                                                      prettier/prettier
  23:13  warning  Insert `··`                                                                                                                                      prettier/prettier
  24:11  warning  Replace `</v-row>⏎` with `··</v-row>`                                                                                                            prettier/prettier
  26:9   warning  Insert `··`                                                                                                                                      prettier/prettier
  27:1   warning  Insert `··`                                                                                                                                      prettier/prettier
  28:7   warning  Replace `<v-footer⏎········color="brown·darken-4"⏎········app⏎········dark` with `··<v-footer·color="brown·darken-4"·app·dark>`                  prettier/prettier
  32:3   warning  Delete `····>⏎`                                                                                                                                  prettier/prettier
  34:1   warning  Replace `······` with `········`                                                                                                                 prettier/prettier
  35:5   warning  Insert `··`                                                                                                                                      prettier/prettier
  36:1   warning  Replace `··` with `····`                                                                                                                         prettier/prettier
  37:1   warning  Insert `··`                                                                                                                                      prettier/prettier

✖ 20 problems (0 errors, 20 warnings)
  0 errors and 20 warnings potentially fixable with the `--fix` option.

Module Warning (from ./node_modules/eslint-loader/index.js):

(...)/bestRestaurants/src/components/List.vue
   2:1   warning  Insert `··`                                                                                                                                                                prettier/prettier
   3:1   warning  Replace `⏎` with `··`                                                                                                                                                      prettier/prettier
   5:3   warning  Replace `<v-row⏎··align="center"⏎··justify="center"⏎·` with `··<v-row·align="center"·justify="center"`                                                                     prettier/prettier
   9:1   warning  Replace `⏎` with `··`                                                                                                                                                      prettier/prettier
  11:1   warning  Replace `····` with `········`                                                                                                                                             prettier/prettier
  12:5   warning  Insert `····`                                                                                                                                                              prettier/prettier
  13:1   warning  Replace `····` with `········`                                                                                                                                             prettier/prettier
  14:5   warning  Replace `:key="location.restaurant.id"` with `····:key="location.restaurant.id"⏎······`                                                                                    prettier/prettier
  15:1   warning  Replace `⏎` with `··`                                                                                                                                                      prettier/prettier
  17:1   warning  Replace `······v-if="location.restaurant.featured_image·!=·''·` with `··········v-if="location.restaurant.featured_image·!=·''`                                            prettier/prettier
  18:1   warning  Insert `····`                                                                                                                                                              prettier/prettier
  19:1   warning  Replace `······:src="location.restaurant.featured_image"` with `··········:src="location.restaurant.featured_image"⏎········`                                              prettier/prettier
  21:7   warning  Insert `··`                                                                                                                                                                prettier/prettier
  22:1   warning  Replace `······` with `··········`                                                                                                                                         prettier/prettier
  23:1   warning  Replace `······` with `··········`                                                                                                                                         prettier/prettier
  24:1   warning  Replace `······src="https://cdn.vuetifyjs.com/images/cards/cooking.png"` with `··········src="https://cdn.vuetifyjs.com/images/cards/cooking.png"⏎········`                prettier/prettier
  26:1   warning  Replace `⏎······<v-card-title>{{location.restaurant.name}}⏎·····` with `········<v-card-title>{{·location.restaurant.name·}}`                                              prettier/prettier
  29:7   warning  Insert `··`                                                                                                                                                                prettier/prettier
  30:1   warning  Insert `··`                                                                                                                                                                prettier/prettier
  31:11  warning  Insert `··`                                                                                                                                                                prettier/prettier
  32:1   warning  Replace `··········` with `··············`                                                                                                                                 prettier/prettier
  33:11  warning  Insert `····`                                                                                                                                                              prettier/prettier
  34:1   warning  Insert `····`                                                                                                                                                              prettier/prettier
  35:11  warning  Insert `····`                                                                                                                                                              prettier/prettier
  36:11  warning  Insert `····`                                                                                                                                                              prettier/prettier
  37:1   warning  Replace `··········` with `··············`                                                                                                                                 prettier/prettier
  38:11  warning  Replace `half-increments·readonly·size="30"` with `····half-increments⏎··············readonly⏎··············size="30"⏎············`                                        prettier/prettier
  39:1   warning  Insert `··`                                                                                                                                                                prettier/prettier
  40:1   warning  Insert `··`                                                                                                                                                                prettier/prettier
  41:1   warning  Replace `············{{location.restaurant.user_rating.aggregate_rating` with `··············{{·location.restaurant.user_rating.aggregate_rating·`                         prettier/prettier
  42:1   warning  Insert `··`                                                                                                                                                                prettier/prettier
  44:11  warning  Insert `··`                                                                                                                                                                prettier/prettier
  45:1   warning  Replace `············Cuisine:·{{location.restaurant.cuisines` with `··············Cuisine:·{{·location.restaurant.cuisines·`                                               prettier/prettier
  46:1   warning  Insert `··`                                                                                                                                                                prettier/prettier
  47:1   warning  Replace `········` with `··········`                                                                                                                                       prettier/prettier
  48:1   warning  Replace `⏎` with `··`                                                                                                                                                      prettier/prettier
  50:7   warning  Insert `··`                                                                                                                                                                prettier/prettier
  51:9   warning  Replace `<v-btn·color="brown·darken-3"` with `··<v-btn⏎············color="brown·darken-3"⏎···········`                                                                     prettier/prettier
  52:1   warning  Replace `········:to="{name:·'About',·params:{id:·location.restaurant.id}}"` with `············:to="{·name:·'About',·params:·{·id:·location.restaurant.id·}·}"⏎·········`  prettier/prettier
  53:1   warning  Insert `··`                                                                                                                                                                prettier/prettier
  54:9   warning  Insert `··`                                                                                                                                                                prettier/prettier
  55:1   warning  Insert `··`                                                                                                                                                                prettier/prettier
  56:1   warning  Replace `⏎⏎` with `··`                                                                                                                                                     prettier/prettier
  59:1   warning  Replace `⏎` with `··`                                                                                                                                                      prettier/prettier
  61:1   warning  Replace `⏎` with `··`                                                                                                                                                      prettier/prettier
  66:9   warning  Replace `⏎··mapGetters,⏎··mapActions⏎}·from·'vuex'` with `·mapGetters,·mapActions·}·from·"vuex";`                                                                          prettier/prettier
  71:9   warning  Replace `'List'` with `"List"`                                                                                                                                             prettier/prettier
  73:20  warning  Replace `'fetchRestaurants'` with `"fetchRestaurants"`                                                                                                                     prettier/prettier
  75:25  warning  Replace `'allRestaurants'` with `"allRestaurants"`                                                                                                                         prettier/prettier
  77:28  warning  Insert `;`                                                                                                                                                                 prettier/prettier
  79:2   warning  Insert `;`                                                                                                                                                                 prettier/prettier

✖ 51 problems (0 errors, 51 warnings)
  0 errors and 51 warnings potentially fixable with the `--fix` option.

Module Warning (from ./node_modules/eslint-loader/index.js):

(...)/bestRestaurants/src/components/RestaurantDetails.vue
   3:11  warning  Replace `restaurant.name` with `·restaurant.name·`                                                                                                                                                  prettier/prettier
   4:11  warning  Replace `restaurant.location.address}}</h3>` with `·restaurant.location.address·}}</h3>⏎····`                                                                                                       prettier/prettier
   5:8   warning  Insert `⏎·····`                                                                                                                                                                                     prettier/prettier
   6:9   warning  Replace `restaurant.cuisines` with `·restaurant.cuisines·`                                                                                                                                          prettier/prettier
   8:8   warning  Insert `⏎·····`                                                                                                                                                                                     prettier/prettier
   9:9   warning  Replace `restaurant.average_cost_for_two` with `·restaurant.average_cost_for_two·`                                                                                                                  prettier/prettier
  10:9   warning  Replace `restaurant.currency` with `·restaurant.currency·`                                                                                                                                          prettier/prettier
  12:8   warning  Insert `⏎······`                                                                                                                                                                                    prettier/prettier
  13:7   warning  Replace `·{{restaurant.user_rating.aggregate_rating}},·{{restaurant.user_rating.rating_text` with `{{·restaurant.user_rating.aggregate_rating·}},⏎······{{·restaurant.user_rating.rating_text·`     prettier/prettier
  14:7   warning  Replace `·<span··class="text--secondary">({{restaurant.all_reviews_count}}·ratings)</span` with `<span·class="text--secondary"⏎········>({{·restaurant.all_reviews_count·}}·ratings)</span⏎······`  prettier/prettier
  32:39  warning  Replace `restaurant.name}}</a><br` with `·restaurant.name·}}</a⏎··········><br·`                                                                                                                    prettier/prettier
  33:57  warning  Insert `·`                                                                                                                                                                                          prettier/prettier
  34:53  warning  Insert `·`                                                                                                                                                                                          prettier/prettier
  35:57  warning  Insert `·`                                                                                                                                                                                          prettier/prettier
  38:11  warning  Replace `<br` with `⏎····<br·`                                                                                                                                                                      prettier/prettier
  39:1   warning  Insert `··`                                                                                                                                                                                         prettier/prettier
  40:5   warning  Insert `··`                                                                                                                                                                                         prettier/prettier
  41:1   warning  Insert `··`                                                                                                                                                                                         prettier/prettier
  42:1   warning  Delete `⏎`                                                                                                                                                                                          prettier/prettier
  47:1   warning  Replace `⏎import·{⏎··mapGetters,⏎··mapActions⏎}·from·'vuex'` with `import·{·mapGetters,·mapActions·}·from·"vuex";`                                                                                  prettier/prettier
  57:33  warning  Insert `;`                                                                                                                                                                                          prettier/prettier
  59:20  warning  Replace `'fetchRestaurants'` with `"fetchRestaurants"`                                                                                                                                              prettier/prettier
  62:20  warning  Replace `'restaurantsByID'` with `"restaurantsByID"`                                                                                                                                                prettier/prettier
  63:15  warning  Replace `·()·{return·this.restaurantsByID.get(this.$route.params.id)` with `()·{⏎······return·this.restaurantsByID.get(this.$route.params.id);⏎····`                                                prettier/prettier
  65:2   warning  Replace `⏎⏎` with `;`                                                                                                                                                                               prettier/prettier
  70:1   warning  Delete `··`                                                                                                                                                                                         prettier/prettier
  71:1   warning  Replace `····list-style-type:` with `··list-style-type:·`                                                                                                                                           prettier/prettier
  72:1   warning  Delete `··`                                                                                                                                                                                         prettier/prettier
  73:1   warning  Delete `···`                                                                                                                                                                                        prettier/prettier
  74:1   warning  Delete `···`                                                                                                                                                                                        prettier/prettier
  75:1   warning  Delete `···`                                                                                                                                                                                        prettier/prettier

✖ 31 problems (0 errors, 31 warnings)
  0 errors and 31 warnings potentially fixable with the `--fix` option.

Module Warning (from ./node_modules/eslint-loader/index.js):

(...)/bestRestaurants/src/main.js
  9:25  warning  Insert `;`  prettier/prettier

✖ 1 problem (0 errors, 1 warning)
  0 errors and 1 warning potentially fixable with the `--fix` option.

Module Warning (from ./node_modules/eslint-loader/index.js):

(...)/bestRestaurants/src/store/index.js
  16:50  warning  Insert `·{`                           prettier/prettier
  17:1   warning  Replace `·······{` with `········`    prettier/prettier
  18:1   warning  Replace `········` with `··········`  prettier/prettier
  19:1   warning  Insert `··`                           prettier/prettier
  20:1   warning  Insert `··`                           prettier/prettier
  21:7   warning  Replace `}` with `··}⏎······`         prettier/prettier
  33:35  warning  Insert `;`                            prettier/prettier

✖ 7 problems (0 errors, 7 warnings)
  0 errors and 7 warnings potentially fixable with the `--fix` option.

Module Warning (from ./node_modules/eslint-loader/index.js):

(...)/bestRestaurants/src/views/About.vue
   4:3  warning  Delete `··`                       prettier/prettier
   7:9  warning  Delete `⏎`                        prettier/prettier
  12:9  warning  Replace `'About'` with `"About"`  prettier/prettier
  16:2  warning  Replace `⏎⏎` with `;`             prettier/prettier

✖ 4 problems (0 errors, 4 warnings)
  0 errors and 4 warnings potentially fixable with the `--fix` option.

Module Warning (from ./node_modules/eslint-loader/index.js):

(...)/bestRestaurants/src/views/Home.vue
   3:11  warning  Delete `⏎⏎···`  prettier/prettier
  13:1   warning  Delete `⏎`      prettier/prettier
  18:4   warning  Delete `⏎`      prettier/prettier

✖ 3 problems (0 errors, 3 warnings)
  0 errors and 3 warnings potentially fixable with the `--fix` option.

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

Vue: @vue/cli 4.4.6 Npm: 6.14.6 System: Ubuntu 18.04.1 Architecture: x86_64

Udiknedormin commented 4 years ago

See for the commit is referenced? Pretty neat, don't you think? :wink:

MartaAG commented 4 years ago

See for the commit is referenced? Pretty neat, don't you think? wink

Pretty cool, I would say :)