1.7.1 • Published 8 months ago

@playcanvas/eslint-config v1.7.1

Weekly downloads
683
License
MIT
Repository
github
Last release
8 months ago

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"
    },
1.7.1

8 months ago

1.7.0

9 months ago

1.6.0

9 months ago

1.5.0

10 months ago

1.4.1

12 months ago

1.4.0

12 months ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.11

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.10

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago