@fal-works/eslint-config-p5js
Advanced tools
Comparing version 0.1.0 to 1.0.0
{ | ||
"name": "@fal-works/eslint-config-p5js", | ||
"description": "ESLint config for p5.js global mode. Supports TypeScript as well.", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "FAL", |
@@ -6,2 +6,3 @@ # @fal-works/eslint-config-p5js | ||
## Install | ||
@@ -21,2 +22,3 @@ | ||
## Usage | ||
@@ -26,5 +28,6 @@ | ||
Add the config name "p5js" to the `extends` list in your `eslintrc`. | ||
Add the config name "@fal-works/p5js" to the `extends` list in your `eslintrc`. | ||
This will add some globals and also overwrite the "no-unused-vars" rule. | ||
This will add some globals and also overwrite the "no-unused-vars" rule. | ||
So this should come after other extensions which also include "no-unused-vars". | ||
@@ -34,4 +37,4 @@ ```json | ||
"extends": [ | ||
"eslint:recommended", // any other config | ||
"p5js" // this should come after the above | ||
"eslint:recommended", | ||
"@fal-works/p5js" | ||
] | ||
@@ -45,3 +48,4 @@ } | ||
This overwrites the "@typescript-eslint/no-unused-vars" rule for p5.js. No additional globals. | ||
This will overwrite the "@typescript-eslint/no-unused-vars" rule for p5.js (no additional globals). | ||
So this should come after other extensions which also include "@typescript-eslint/no-unused-vars". | ||
@@ -52,5 +56,5 @@ ```json | ||
"eslint:recommended", | ||
"p5js", | ||
"@fal-works/p5js", | ||
"plugin:@typescript-eslint/recommended", | ||
"p5js/@typescript-eslint", // this should come after the above | ||
"@fal-works/p5js/@typescript-eslint", | ||
] | ||
@@ -70,4 +74,4 @@ } | ||
"eslint:recommended", | ||
"p5js", | ||
"p5js/sound", | ||
"@fal-works/p5js", | ||
"@fal-works/p5js/sound", | ||
] | ||
@@ -74,0 +78,0 @@ } |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
12608
0
0
81