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

style: change style settings for better format standard #65

Merged
merged 1 commit into from
Aug 10, 2023

Commits on Aug 9, 2023

  1. style: change style settings for better format standard

    [#62] Refer to GitHub issue...
    
    This update does the followings to implement better coding style guide
    standard based on Airbnb Style Guide, ESLint, Prettier, and PEP8.
    
    .editorconfig
    - Added file to implement necessary format settings across different
    IDEs including VSCode.
    
    .eslintrc
    - Removed Typescript related extensions and plugins as it prompts ESLint
    unnecessary warnings. Will be implemented again once Typescript is used.
    - Import plugin added to lint import-related codes.
    - Several rules were included to overrule Prettier with Airbnb rules,
    which we figured were better coding practices. The followings are
    included: react/no-multi-comp semi, comma-dangle, no-underscore-dangle,
    space-before-blocks, keyword-spacing, spaced-comment, quotes,
    prefer-template, template-curly-spacing, jsx-quotes, camelcase,
    no-unused-vars.
    - Import rules were added to match with Airbnb style guide.
    - Rules are subject to change in the future and documentation regarding
    the changes will be written.
    
    .prettierrc
    - Some rules were changed to overrule Prettier with Airbnb rules.
    
    .vscode/settings.json
    - Editor indent setting was removed as it is now included in
    .editorconfig.
    
    package.json
    - Removed Typescript related extensions and will be implemented in the
    future once Typescript is used.
    - Airbnb related ESLint plugins were added to enforce Airbnb style guide
    rules.
    - StyleLint was added to organize CSS files. The tool is being tested
    and may be removed in the future.
    yunchae-kim committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    8cf9f63 View commit details
    Browse the repository at this point in the history