Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@playcanvas/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@playcanvas/eslint-config

ESLint configuration used by PlayCanvas

  • 2.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
970
increased by17.43%
Maintainers
0
Weekly downloads
 
Created
Source

PlayCanvas ESLint Config

ESLint configuration developed by the PlayCanvas team and leveraged by many PlayCanvas-related projects, including the PlayCanvas Engine. However, you can use it for any JavaScript-based project if you approve of the PlayCanvas coding style.

The configuration is defined in index.js. It configures ESLint's rules in the same order as they are enumerated here. It also configures rules for checking JSDoc comments using the ESLint plugin eslint-plugin-jsdoc-rules.

The configuration attempts to enable as many rules as possible, particularly those categorized as 'recommended' by ESLint.

Using this config in your own projects

Edit your project's package.json file:

  1. Add eslint and @playcanvas/eslint-config to your devDependencies section.
  2. Add an eslintConfig section. At a minimum, you will need:
    "eslintConfig": {
        "extends": "@playcanvas/eslint-config"
    },

Keywords

FAQs

Package last updated on 24 Nov 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc