@enormora/eslint-config-browser 0.0.19 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/readme.md +12 -10
  3. package/sbom.cdx.json +5 -5
package/package.json CHANGED
@@ -19,5 +19,5 @@
19
19
  "url": "git://github.com/enormora/eslint-config.git"
20
20
  },
21
21
  "type": "module",
22
- "version": "0.0.19"
22
+ "version": "0.0.21"
23
23
  }
package/readme.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # `@enormora/eslint-config-browser`
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@enormora/eslint-config-browser?label=)](https://www.npmjs.com/package/@enormora/eslint-config-browser)
4
+
3
5
  Config preset for browser environments, enabling specific rules and configures global variables.
4
6
 
5
7
  ## Install & Setup
@@ -13,17 +15,17 @@ npm install --save-dev @enormora/eslint-config-base @enormora/eslint-config-brow
13
15
  Create an ESLint configuration file (e.g., `eslint.config.js`) in your project and add the base and browser config to the configuration array:
14
16
 
15
17
  ```javascript
16
- import { baseConfig } from "@enormora/eslint-config-base";
17
- import { browserConfig } from "@enormora/eslint-config-browser";
18
+ import { baseConfig } from '@enormora/eslint-config-base';
19
+ import { browserConfig } from '@enormora/eslint-config-browser';
18
20
 
19
21
  export default [
20
- {
21
- ignores: ["dist/**/*"],
22
- },
23
- ...baseConfig,
24
- {
25
- ...browserConfig,
26
- files: ["src/browser/**/*.js"],
27
- },
22
+ {
23
+ ignores: [ 'dist/**/*' ]
24
+ },
25
+ ...baseConfig,
26
+ {
27
+ ...browserConfig,
28
+ files: [ 'src/browser/**/*.js' ]
29
+ }
28
30
  ];
29
31
  ```
package/sbom.cdx.json CHANGED
@@ -9,16 +9,16 @@
9
9
  {
10
10
  "type": "application",
11
11
  "name": "packtory",
12
- "version": "0.0.15"
12
+ "version": "0.0.32"
13
13
  }
14
14
  ]
15
15
  },
16
16
  "component": {
17
17
  "type": "library",
18
18
  "name": "@enormora/eslint-config-browser",
19
- "version": "0.0.19",
20
- "bom-ref": "pkg:npm/@enormora/eslint-config-browser@0.0.19",
21
- "purl": "pkg:npm/@enormora/eslint-config-browser@0.0.19"
19
+ "version": "0.0.21",
20
+ "bom-ref": "pkg:npm/@enormora/eslint-config-browser@0.0.21",
21
+ "purl": "pkg:npm/@enormora/eslint-config-browser@0.0.21"
22
22
  }
23
23
  },
24
24
  "components": [
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "dependencies": [
40
40
  {
41
- "ref": "pkg:npm/@enormora/eslint-config-browser@0.0.19",
41
+ "ref": "pkg:npm/@enormora/eslint-config-browser@0.0.21",
42
42
  "dependsOn": [
43
43
  "pkg:npm/globals@17.6.0"
44
44
  ]