Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eslint configuration and adding comment to all functions which do not have them. #1414

Commits on Sep 4, 2024

  1. Update eslint configuration and adding comment to all functions which…

    … do not have them.
    
    - Update eslint to throw errors when functions don't have documentation.
    - Ignoring eslint missing comments for spa, generated-html and src-electron/generator/matter
    - Update comments on all the js functions
    - Add eslint to pre-commit hook
    - Adding api documentation update to pre-commit hook
    - Using npx jsdoc2md src-shared/**/*.js src-electron/**/*.js > docs/api.md for api.md update on each commit
    - Updating API documentation
    - Updating the modules for all files in src-shared and src-electron such that their documentation is generated properly using jsdoc2md
    - Adding 2 scripts to generate api documentation  and helper documentation such that users can now have one place to know about every helper available.
    - The 2 scripts are called as part of the pre-commit hook and fails if documentation is not added for any function.
    - The documentation for api.md and helpers.md is updated as part of the commit using the pre-commit hook
    - Clean up all the associated files and functions such that jsdoc2md works efficiently
    - Ignoring src directory for eslint
    - Updating the README.md with the template helper documentation link
    - Adding vue files to the ignore list in eslint
    - JIRA: ZAPP-1143
    
    - Adding comments for the one missing file
    brdandu committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    d24455f View commit details
    Browse the repository at this point in the history