@npm_identt/eslint-config-self-verify
v2.0.0
Published
This repository contains eslint config for projects connected with Self Verify Lite
Readme
ESlint config Self Verify
This repository contains eslint config for projects connected with Self Verify Lite
Requirements
- ESLint 9.x or higher
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install @npm_identt/eslint-config-self-verify:
npm install @npm_identt/eslint-config-self-verify --save-devUsage
ESLint 9+ (Flat Config)
For ESLint 9+ using the new flat configuration format, create an eslint.config.js file:
import selfVerifyConfig from '@npm_identt/eslint-config-self-verify';
export default [
...selfVerifyConfig,
];To extend project with specific configurations you can add @npm_identt/eslint-config-self-verify/${frontend|imports|prettier} as follows:
import frontendConfig from '@npm_identt/eslint-config-self-verify/frontend';
export default [
...frontendConfig,
];Version 2.0.0 Breaking Changes
- ESLint 9+ Required: This version requires ESLint 9.0.0 or higher
- Updated Dependencies: All ESLint plugins and configs have been updated to their latest versions compatible with ESLint 9
- Flat Config Support: Added support for the new ESLint flat configuration format
- Removed .eslintignore: The deprecated
.eslintignorefile support has been removed in favor of theignoresproperty in flat config - ES Module Format: The package now uses ES modules (
import/export) for compatibility with ESLint 9+ flat configuration format
Publishing
To publish introduced changes you need to run following commands in your terminal:
npm version patch|minor|major
npm publish