Skip to content

Commit

Permalink
Merge branch 'apexcharts:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
iameddz authored Mar 29, 2023
2 parents 990b281 + c46cf90 commit c192cc2
Show file tree
Hide file tree
Showing 16 changed files with 3,801 additions and 2,380 deletions.
55 changes: 2 additions & 53 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2018,
ecmaVersion: 2021,
parser: 'babel-eslint',
sourceType: 'module'
},
Expand All @@ -10,11 +10,7 @@ module.exports = {
es6: true,
node: true
},
extends: [
'plugin:prettier/recommended',
'plugin:import/errors',
'plugin:import/warnings'
],
extends: ['prettier'],
plugins: ['promise'],
globals: {
Blob: true,
Expand All @@ -24,53 +20,6 @@ module.exports = {
ApexCharts: true,
screen: true
},
rules: {
// Remove this when prettier 2.0 is out
'space-before-function-paren': 0, // Do not clash with Prettier
'no-shadow': 1,
'no-undef': 1,
'no-unused-vars': [
1,
{ vars: 'all', args: 'none', ignoreRestSiblings: true }
],
'constructor-super': 1,
'no-const-assign': 1,
'no-dupe-class-members': 1,
'no-var': 1,
'object-shorthand': [1, 'always'],
'prefer-arrow-callback': [
1,
{
allowNamedFunctions: false,
allowUnboundThis: true
}
],
'no-cond-assign': [1, 'always'],
'no-dupe-args': 1,
'no-dupe-keys': 1,
'no-inner-declarations': 1,
'no-invalid-regexp': 1,
'no-sparse-arrays': 1,
'no-unreachable': 1,
'dot-notation': [1, { allowKeywords: true }],
eqeqeq: [1, 'always', { null: 'ignore' }],
'no-eval': 1,
radix: 1,
'no-return-assign': [1, 'always'],
'no-useless-return': 1,
'no-sequences': 1,
'no-extend-native': 1,
'no-fallthrough': 1,
'no-global-assign': [1, { exceptions: [] }],
'no-implied-eval': 1,
'no-lone-blocks': 1,
'no-multi-str': 1,
'no-useless-escape': 1,

'promise/no-promise-in-callback': 1,
'promise/no-callback-in-promise': 1,
'promise/valid-params': 1
},
overrides: [
{
files: ['tests/**/*.js'],
Expand Down
2 changes: 1 addition & 1 deletion dist/apexcharts.amd.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/apexcharts.common.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/apexcharts.esm.js

Large diffs are not rendered by default.

Loading

0 comments on commit c192cc2

Please sign in to comment.