
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
eslint-config-peopledoc
Advanced tools
eslint-config-peopledoc
JavaScript linting rules for PeopleDoc.
In your project, remove exisiting ESLint's plugins or configuration, then:
# with npm
npm install --save-dev eslint-config-peopledoc
# or with yarn
yarn add eslint-config-peopledoc --dev
If you add this configuration to a project using Ember 3.12+, you need to install babel-eslint
:
# with npm
npm install --save-dev babel-eslint
# or with yarn
yarn add babel-eslint --dev
In your project, edit your eslint
configuration to extend peopledoc
ESLint config:
module.exports = {
root: true,
extends: ['peopledoc'],
rules: {}
}
Preset configurations are available for:
Vanilla JS:
extends: ['peopledoc']
Ember Application:
extends: ['peopledoc/ember']
Ember Addon:
extends: ['peopledoc/ember-addon']
Ember Test:
extends: ['peopledoc/ember-test']
ES5 only
extends: ['peopledoc/es5']
Prettier
extends: ['peopledoc/prettier']
We recommend to use prettier-eslint in order to format it with prettier
(why?) then fix issue with eslint --fix
:
./node_modules/.bin/prettier-eslint --list-different --single-quote {app,config,mirage,server,tests}/{**/,}*.js
Once you have review change you can write them with
./node_modules/.bin/prettier-eslint --write --single-quote {app,config,mirage,server,tests}/{**/,}*.js
:bulb: We recommend to add a custom format
script to your package.json so you can run npm format
.
This project is licensed under the MIT License.
FAQs
JavaScript linting rules used at PeopleDoc
The npm package eslint-config-peopledoc receives a total of 524 weekly downloads. As such, eslint-config-peopledoc popularity was classified as not popular.
We found that eslint-config-peopledoc 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.