open-index/open-npm huggingface dataset:
npm package: @iobroker/admin-component-easy-access
Description: This component is used for admin setting.
Author: bluefox
Latest version: 2.0.1

# ioBroker JSON Config component for Admin
This component is used for admin setting.

![Component](img/component.png)

## How to use
Build process creates files in directory build.

All files from `build/admin` folder must be in adapter admin directory. 

To use this component in admin, add to jsonConfig.json file:
```json
    "accessAllowedConfigs": {
      "type": "custom",
      "i18n": true,
      "url": "custom/customComponents.js",
      "name": "AdminComponentEasyAccessSet/Components/ConfigCustomEasyAccess"
    }
```

Explanation: 
- `AdminComponentEasyAccessSet` - is unique name of this set of components
- `Components` - file name where all components are
- `ConfigCustomEasyAccess` - name of component in `Components.js`which must be used.
- `i18n` - if set to `true`, so the admin will load language files from `i18n`directory (in the same directory, where `customComponents.js` is), if set to language object, it will be used directly. Example: `{"easyconfig_text": {"en": "Text"}}`.

<!--
	### **WORK IN PROGRESS**
-->
## Changelog
### 2.0.1 (2025-03-19)
* (bluefox) Updated packages

### 2.0.0 (2025-03-07)
* (bluefox) Migrated to TypeScript

### 1.0.11 (2024-12-06)
* (bluefox) Updated packages

### 1.0.8 (2024-10-11)
* (bluefox) Updated `@iobroker/adapter-react-v5`

### 1.0.1 (2024-07-14)
* (bluefox) Updated for Admin 7

### 0.3.2 (2022-06-17)
* (bluefox) Corrected issue with a version of common packages

### 0.2.0 (2022-06-15)
* (bluefox) Changed builder to webpack

### 0.1.1 (2022-06-01)
* (bluefox) Added map files

### 0.0.2 (2022-05-26)
* (bluefox) Added i18n

## License
The MIT License (MIT)

Copyright (c) 2021-2025 bluefox <dogafox@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
npm package: @iobroker/eslint-config
Description: Eslint config of ioBroker
Author: foxriver76
Latest version: 2.2.0

# ESLint config for ioBroker projects

## Installation

Install the package via

```bash
npm i @iobroker/eslint-config --save-dev
```

## Getting started

Just extend this project in your lint config in your `eslint.config.mjs`.

```js
import config from '@iobroker/eslint-config';

export default [...config];
```

And create a `prettier.config.mjs` with the following content:

```js
import prettierConfig from '@iobroker/eslint-config/prettier.config.mjs';

export default prettierConfig;
```

Optionally, if you are using ESM modules, there is an additional config.
Your `eslint.config.mjs` would then look like this:

```js
import config, { esmConfig } from '@iobroker/eslint-config';

export default [...config, ...esmConfig];
```

## ReactJS project

To use this config in a ReactJS project, your `eslint.config.mjs` would then look like this:

```js
import config, { reactConfig } from '@iobroker/eslint-config';

export default [...config, ...reactConfig];
```

It is suggested to create separate `eslint.config.mjs` files for backend and for ReactJS.

## Changelog

<!--
  Placeholder for the next version (at the beginning of the line):
  ### **WORK IN PROGRESS**
-->
### 2.2.0 (2025-09-20)

-   (@Apollon77/copilot) Adjust rules to allow to split type and normal imports for the same module in two lines

### 2.1.0 (2025-08-24)

-   (@Apollon77) Update packages to allow to use typescript 5.9.x

### 2.0.3 (2025-08-03)

-   (@GermanBluefox) Some packages were updated

### 2.0.2 (2025-05-20)

-   (mcm1957) typescript peerDependency has been removed

### 2.0.1 (2025-03-10)

-   (@foxriver76) make prettier peer dependency `>=`
-   (@foxriver76) remove TypeScript peer dependency

### 2.0.0 (2025-03-04)

-   (@GermanBluefox) Some eslint packages were updated with major version (TypeScript 5.8)

### 1.0.1 (2025-03-04)

-   (@foxriver76) Disable `jsdoc/no-types` off for non-TypeScript files
-   (@mcm1957) Apply JavaScript rules also to `.mjs` and `.cjs` files

### 1.0.0 (2024-11-17)

-   (@GermanBluefox) Added `no-duplicate-imports` rule
-   (@mcm1957/@foxriver76) allow unused args with `_` prefix in JavaScript too

### 0.1.7 (2024-11-13)

-   (@foxriver76) Allow `require` imports for `.js` files

### 0.1.6 (2024-09-16)

-   (@GermanBluefox) Enforce the use of template literals instead of string concatenation: "Hello, " + name + "!" => `Hello, ${name}!`
-   (@GermanBluefox) Added `no-else-return` rule

### 0.1.5 (2024-09-12)

-   (@GermanBluefox) added ReactJS eslint config file

### 0.1.4 (2024-09-11)

-   (@GermanBluefox) adjust initial `prettier` rules

### 0.1.3 (2024-09-10)

-   (@foxriver76) fixed problems with tsconfig

### 0.1.2 (2024-09-06)

-   (@foxriver76) initial release