apertureless/vue-chartjs

View on GitHub

Showing 77 of 84 total issues

Replace 'polar-chart',·'polarArea') with "polar-chart",·"polarArea");
Open

export const PolarArea = generateChart('polar-chart', 'polarArea')
Severity: Minor
Found in src/BaseCharts.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ;
Open

        const newDatasetKeys = Object.keys(dataset)
Severity: Minor
Found in src/mixins/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace '_meta'·&&·newDatasetKeys.indexOf(key)·===·-1 with "_meta"·&&·newDatasetKeys.indexOf(key)·===·-1;
Open

          return key !== '_meta' && newDatasetKeys.indexOf(key) === -1
Severity: Minor
Found in src/mixins/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ;
Open

          return this.$data._chart.generateLegend()
Severity: Minor
Found in src/BaseCharts.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ;
Open

    this.renderChart(this.chartData, this.options)
Severity: Minor
Found in src/mixins/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace '2d' with "2d"
Open

        this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
Severity: Minor
Found in src/BaseCharts.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'bar-chart',·'bar') with "bar-chart",·"bar");
Open

export const Bar = generateChart('bar-chart', 'bar')
Severity: Minor
Found in src/BaseCharts.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ;
Open

      return dataset.label
Severity: Minor
Found in src/mixins/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'chart:destroy') with "chart:destroy");
Open

      this.$emit('chart:destroy')
Severity: Minor
Found in src/mixins/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ;
Open

          return []
Severity: Minor
Found in src/BaseCharts.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'chart:render') with "chart:render");
Open

    this.$emit('chart:render')
Severity: Minor
Found in src/mixins/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ;
Open

    let chart = this.$data._chart
Severity: Minor
Found in src/mixins/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ;
Open

      return dataset.label
Severity: Minor
Found in src/mixins/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'horizontalbar-chart' with "horizontalbar-chart"
Open

  'horizontalbar-chart',
Severity: Minor
Found in src/BaseCharts.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Insert ;
Open

      })
Severity: Minor
Found in src/mixins/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'doughnut-chart',·'doughnut') with "doughnut-chart",·"doughnut");
Open

export const Doughnut = generateChart('doughnut-chart', 'doughnut')
Severity: Minor
Found in src/BaseCharts.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'pie-chart',·'pie') with "pie-chart",·"pie");
Open

export const Pie = generateChart('pie-chart', 'pie')
Severity: Minor
Found in src/BaseCharts.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace './mixins/index.js' with "./mixins/index.js";
Open

import mixins from './mixins/index.js'
Severity: Minor
Found in src/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace '[vue-chartjs]:·This·is·not·a·vue·component.·It·is·the·whole·object·containing·all·vue·components.·Please·import·the·named·export·or·access·the·components·over·the·dot·notation.·For·more·info·visit·https://vue-chartjs.org/#/home?id=quick-start' with "[vue-chartjs]:·This·is·not·a·vue·component.·It·is·the·whole·object·containing·all·vue·components.·Please·import·the·named·export·or·access·the·components·over·the·dot·notation.·For·more·info·visit·https://vue-chartjs.org/#/home?id=quick-start"
Open

      '[vue-chartjs]: This is not a vue component. It is the whole object containing all vue components. Please import the named export or access the components over the dot notation. For more info visit https://vue-chartjs.org/#/home?id=quick-start'
Severity: Minor
Found in src/index.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Replace 'scatter-chart',·'scatter') with "scatter-chart",·"scatter");
Open

export const Scatter = generateChart('scatter-chart', 'scatter')
Severity: Minor
Found in src/BaseCharts.js by eslint

For more information visit Source: http://eslint.org/docs/rules/

Severity
Category
Status
Source
Language