Chart.js shareable ESLint config.
npm install --save-dev eslint-config-chartjs
Once the eslint-config-chartjs
package is installed, you can use it by specifying chartjs
in the extends
section of your ESLint configuration.
extends: chartjs
rules:
# Additional, per-project rules...