Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@ableco/coding-standards-javascript
Advanced tools
Automated linting and formatting JavaScript code for Able projects, using https://github.com/ableco/eslint-config
Automated linting for Able using https://github.com/ableco/eslint-config
@ableco/coding-standards-javascript
requires you to run npx coding-standards-javascript
in your project's root directory to copy ESLint and Prettier configuration files.
It also installs @arkweid/lefthook
to copy a lefthook.yml
file to run ESLint and Prettier based on @ableco/eslint-config
configuration in a pre-commit stage.
In case any of these configuration files already exists, they should be updated manually to reflect the contents of the ones provided by @ableco/coding-standards-javascript
(for example, in case a project already has an ESLint configuration file).
yarn add @ableco/coding-standards-javascript --dev
npm install @ableco/coding-standards-javascript --save-dev
Run npx coding-standards-javascript
and follow the instructions.
It will try to copy the following files:
.eslintrc.js
.prettierrc.json
(or .prettierrc.js
or .prettierrc
, in that order)lefthook.yml
In case any of these files already exists, it will shows the content of those files in the console's output and let you copy and paste those configurations manually.
husky
usersIn case your project already uses husky we recommend you to uninstall it by running:
npm uninstall husky
To remove any git hook previously added by husky.
Bug reports and pull requests are welcome on GitHub at https://github.com/ableco/coding-standards-javascript.
FAQs
Automated linting and formatting JavaScript code for Able projects, using https://github.com/ableco/eslint-config
The npm package @ableco/coding-standards-javascript receives a total of 3 weekly downloads. As such, @ableco/coding-standards-javascript popularity was classified as not popular.
We found that @ableco/coding-standards-javascript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.