Skip to content

Remove Unused lint-staged Configuration for Non-Existing ts and css Files #98

@G4URAV001

Description

@G4URAV001

Ticket Contents

Description

In the following repositories, the package.json file contains the following lint-staged configuration:

"lint-staged": {
  "src/**/*.{ts,css,html}": [
    "eslint --fix"
  ]
}

However, there are no .ts (TypeScript) or .css files present in the src/ directories of these repositories. As a result, this linting configuration is unnecessary and should be removed or updated.

Repositories Affected:

FHIR-API

HWC-API

MMU-API

Goals & Mid-Point Milestone

Goals

  • [Remove the lint-staged rule for ts and css files from the package.json files.]

Setup/Installation

No response

Expected Outcome

No response

Acceptance Criteria

No response

Implementation Details

Remove the lint-staged rule for ts and css files from the package.json files.

Example of the rule to remove:

"lint-staged": {
  "src/**/*.{ts,css,html}": [
    "eslint --fix"
  ]
}

Potentially, should also delete /.husky/pre-commit file

If linting is required for html files, ensure the eslint --fix command is applied to .html files only.

Mockups/Wireframes

No response

Product Name

AMRIT

Organisation Name

Piramal Swasthya Management and Research Institute

Domain

⁠Healthcare

Tech Skills Needed

Node.js

Mentor(s)

@Sneha6003 @drtechie

Category

Configuration

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions