indic-transliteration / sanscript.js

Transliteration package for Indian scripts
MIT License
99 stars 39 forks source link

Fix linting warnings #31

Closed rramphal closed 3 years ago

rramphal commented 3 years ago
> @sanskrit-coders/sanscript@1.1.0 lint /home/runner/work/sanscript.js/sanscript.js
> node ./node_modules/.bin/eslint '**/*.js'

/home/runner/work/sanscript.js/sanscript.js/src/sanscript.js
Warning:    48:29  warning  Do not access Object.prototype method 'hasOwnProperty' from target object  no-prototype-builtins
Warning:   130:41  warning  'options' is defined but never used                                        no-unused-vars
Warning:   141:29  warning  Do not access Object.prototype method 'hasOwnProperty' from target object  no-prototype-builtins
Warning:   306:55  warning  'options' is defined but never used                                        no-unused-vars
Warning:   385:26  warning  Do not access Object.prototype method 'hasOwnProperty' from target object  no-prototype-builtins

✖ 5 problems (0 errors, 5 warnings)