-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
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:
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)
Category
Configuration
Metadata
Metadata
Assignees
Labels
No labels