Socket
Book a DemoInstallSign in
Socket

eslint-config-peopledoc

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-peopledoc

JavaScript linting rules used at PeopleDoc

4.0.0
latest
Source
npmnpm
Version published
Weekly downloads
278
Maintainers
4
Weekly downloads
 
Created
Source

eslint-config-peopledoc

License: MIT

JavaScript linting rules for PeopleDoc.

Installation

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, you need to install @babel/core, @babel/eslint-parser and @babel/plugin-proposal-decorators:

# with npm
npm install eslint @babel/core @babel/eslint-parser @babel/plugin-proposal-decorators --save-dev

# or with yarn
yarn add eslint @babel/core @babel/eslint-parser @babel/plugin-proposal-decorators -D

Usage

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']

ES5 only

extends: ['peopledoc/es5']

Prettier

extends: ['peopledoc/prettier']

Formatting Code

We recommend to use eslint . --fix.

Contributors

edouard-lopez
edouard-lopez
GreatWizard
GreatWizard
MrChocolatine
MrChocolatine
yonmey
yonmey
ryuran
ryuran
xcambar
xcambar
ndekeister-us
ndekeister-us
yonmey
yonmey
KamiKillertO
KamiKillertO
njoyard
njoyard
Pixelik
Pixelik
saintsebastian
saintsebastian

License

This project is licensed under the MIT License.

Keywords

ember

FAQs

Package last updated on 20 May 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.