Skip to content

Commit

Permalink
Allow using es6 syntax for Chart.js 3.x (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored and etimberg committed Oct 30, 2019
1 parent c191c01 commit 41822f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
22 changes: 1 addition & 21 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extends: "eslint:recommended"

# http://eslint.org/docs/rules/
# https://eslint.org/docs/rules/
rules:
# Possible Errors
no-cond-assign: 2
Expand Down Expand Up @@ -194,23 +194,3 @@ rules:
switch-colon-spacing: 2
unicode-bom: 0
wrap-regex: 2

# ECMAScript 6
arrow-body-style: 0
arrow-parens: 0
arrow-spacing: 0
constructor-super: 0
generator-star-spacing: 0
no-arrow-condition: 0
no-class-assign: 0
no-const-assign: 0
no-dupe-class-members: 0
no-this-before-super: 0
no-var: 0
object-shorthand: 0
prefer-arrow-callback: 0
prefer-const: 0
prefer-reflect: 0
prefer-spread: 0
prefer-template: 0
require-yield: 0
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "eslint-config-chartjs",
"description": "Chart.js shareable ESLint config",
"repository": "chartjs/eslint-config-chartjs",
"homepage": "http://www.chartjs.org",
"version": "0.1.0",
"homepage": "https://www.chartjs.org",
"version": "0.2.0",
"license": "MIT",
"main": ".eslintrc.yml"
}

0 comments on commit 41822f6

Please sign in to comment.