diff --git a/CHANGELOG.md b/CHANGELOG.md index 37ae438..e437806 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.1.1] - 2024-07-10 + +- Updating naming convention for imports. Added `camelCase`, `PascalCase` and `UPPER_CASE`. + ## [2.1.0] - 2024-06-20 - Updating dependencies before migration to ESlint 9. diff --git a/configs/ts.js b/configs/ts.js index 6242a28..a859a33 100644 --- a/configs/ts.js +++ b/configs/ts.js @@ -19,6 +19,10 @@ module.exports = { selector: 'default', format: ['camelCase'], }, + { + selector: 'import', + format: ['camelCase', 'PascalCase', 'UPPER_CASE'], + }, { // This is the 'property' group values. For some reason `property` selector is not recogniced. selector: ['classProperty', 'objectLiteralProperty', 'typeProperty'], diff --git a/package.json b/package.json index c2e7d54..214e2d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cabify/eslint-config", - "version": "2.1.0", + "version": "2.1.1", "description": "ESLint config for Cabify Javascript projects", "scripts": { "build": "echo 'No build to perform'",