mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
ed2b96eeaf
* Initial work * Update doc commands * Updated sidebar config * Move docs * Update theme version and enable * Convert to chart.js sample * Update scripts to point to local build * Chart.js from local build * Simplify getting-started example * Axis docs updated except for imported content * Common ticks import works * Chart type docs ported to editor plugin * Last pages to use editor * Fix small errors * Frontmatter title to heading * Remove duplicate example * Update sidebar * Add paths * Remove paths * Add getting-started back * Update menus and add copyright to license section of the docs * Add GA plugin * Style sub-groups * Remove unneeded license page since it is covered on the main page * Remove docusaurus readme page * Remove docusaurus files * Fix issues in docs * Build and deploy scripts for docs work * Conditional base URL for nice local testing * Use eslint-plugin-markdown * Remove hard coded lines * Remove mentions of docusaurus Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
33 lines
767 B
YAML
33 lines
767 B
YAML
extends:
|
|
- chartjs
|
|
- plugin:es/no-new-in-es2019
|
|
- plugin:markdown/recommended
|
|
|
|
env:
|
|
es6: true
|
|
browser: true
|
|
node: true
|
|
|
|
parserOptions:
|
|
ecmaVersion: 2018
|
|
sourceType: module
|
|
ecmaFeatures:
|
|
impliedStrict: true
|
|
modules: true
|
|
|
|
plugins: ['html', 'es']
|
|
|
|
rules:
|
|
class-methods-use-this: "off"
|
|
complexity: ["warn", 10]
|
|
max-statements: ["warn", 30]
|
|
no-empty-function: "off"
|
|
no-use-before-define: ["error", { "functions": false }]
|
|
# disable everything, except Rest/Spread Properties in ES2018
|
|
es/no-async-iteration: "error"
|
|
es/no-malformed-template-literals: "error"
|
|
es/no-regexp-lookbehind-assertions: "error"
|
|
es/no-regexp-named-capture-groups: "error"
|
|
es/no-regexp-s-flag: "error"
|
|
es/no-regexp-unicode-property-escapes: "error"
|