kallookoo / wp-color-picker-alpha

Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
GNU General Public License v2.0
131 stars 88 forks source link

eslint errors #33

Closed ASL07 closed 4 years ago

ASL07 commented 4 years ago

Hi, While using this awesome color picker eslint gave me some errors:

   24:19   error  'wpColorPickerL10n' is not defined  no-undef
   29:9    error  '_before' is already defined        no-redeclare
   37:3    error  'Color' is not defined              no-undef
   99:27   error  'wpColorPickerL10n' is not defined  no-undef
  100:34   error  'wpColorPickerL10n' is not defined  no-undef
  114:20   error  'wpColorPickerL10n' is not defined  no-undef
  132:60   error  'wpColorPickerL10n' is not defined  no-undef
  141:58   error  'wpColorPickerL10n' is not defined  no-undef
  143:43   error  'wpColorPickerL10n' is not defined  no-undef
  146:56   error  'wpColorPickerL10n' is not defined  no-undef
  148:43   error  'wpColorPickerL10n' is not defined  no-undef
  194:40   error  Missing trailing comma              comma-dangle
  209:64   error  Missing trailing comma              comma-dangle
  218:10   error  Missing trailing comma              comma-dangle
  353:33   error  Missing trailing comma              comma-dangle
  408:12   error  Missing trailing comma              comma-dangle
  424:76   error  Missing trailing comma              comma-dangle
  442:140  error  Unnecessary escape character: \.    no-useless-escape
  465:27   error  'Color' is not defined              no-undef
  491:6    error  Missing trailing comma              comma-dangle

I will submit a pull request with them corrected in case you want to add it. Thanks for sharing this repo, great work!

kallookoo commented 4 years ago

See https://github.com/kallookoo/wp-color-picker-alpha/pull/34#issuecomment-665373388