
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@thecolvinco/lint
Advanced tools
A package for easy control of all standardization of code and projects.
A package for easy control of all standardization of code in all our projects.
View code format config here:
npm install @thecolvinco/lint --save-dev
When you install the package, add the configuration of eslint and prettier in your package.json
configuration.
{
"prettier": "./node_modules/@thecolvinco/lint/.prettierrc.js",
"eslintConfig": {
"extends": ["./node_modules/@thecolvinco/lint/.eslintrc.js"]
},
"stylelint": {
"extends": "./node_modules/@thecolvinco/lint/.stylelintrc.js"
}
}
When you execute the command they will only be launched for the the patern .js[x], .ts[x]
files.
colvin-lint js
When you execute the command they will only be launched for the the patern .[s]css, .js[x], .ts[x]
files.
colvin-lint css
It attempts to fix problems automatically. Similar to eslint --fix
and stylelint --fix
.
colvin-lint js --fix
colvin-lint css --fix
Use flag for lint only staged files of a project. It is useful to reduce times in continuous integration, since the lining will only be carried out on the files that have been modified.
colvin-lint js --staged
colvin-lint css --staged
Configure your extensions in your favourite editor:
Configure VS Code preferences with
esbenp.prettier-vscode
"editor.defaultFormatter": "esbenp.prettier-vscode"
FAQs
A package for easy control of all standardization of code and projects.
The npm package @thecolvinco/lint receives a total of 1 weekly downloads. As such, @thecolvinco/lint popularity was classified as not popular.
We found that @thecolvinco/lint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.