Skip to content

Integrate the WSO2 ESLint & Prettier plugins #251

@brionmario

Description

@brionmario

Is your suggestion related to an experience ? Please describe.

Currently, the codebase has a custom ESLint config and no prettier configuration at all. Keeping this ESLint config uptodate is cumbersome.

By integrating our custom WSO2 ESLint config, we can standardize the code quality and ensure that contributors follow a unified style guide.

Describe the improvement

  1. Install @wso2/eslint-plugin & @wso2/prettier-config (not yet available in npm)
    "@wso2/eslint-plugin": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/eslint-plugin?fa0b844715320a3953d6d055997c0770f8695082",
    "@wso2/prettier-config": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/prettier-config?fa0b844715320a3953d6d055997c0770f8695082",
  1. Configure the plugins.

Refer the following repo and do the same for Prettier as well:

Additional context

This task should be done after #246

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions