Skip to content

Commit

Permalink
Merge pull request #13 from vcian/development
Browse files Browse the repository at this point in the history
fix: nestjs multiline-ternary
  • Loading branch information
palaklive authored Jan 8, 2024
2 parents 15d2b7f + 9bf6a17 commit 71a6a4f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2.0.1

_Jan 8, 2024_

- Remove 'multiline-ternary' rule of ESLint for Nestjs.
- Add 'no-nested-ternary' rule of ESLint for Nest.

## 2.0.0

_Jan 3, 2024_
Expand Down
2 changes: 1 addition & 1 deletion config/nestjs/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module.exports = {
'no-console': 'error',
'no-mixed-operators': 'error',
'keyword-spacing': 'error',
'multiline-ternary': ['error', 'never'],
'no-nested-ternary': 2,
'no-undef': 'error',
'no-whitespace-before-property': 'error',
'nonblock-statement-body-position': 'error',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vcian/lint-sage",
"version": "2.0.0",
"version": "2.0.1",
"description": "This package designed to simplify the configuration of your projects. This package automates the setup of essential tools and configurations to ensure a clean and consistent codebase.",
"bin": {
"lint-sage": "index.js"
Expand Down

0 comments on commit 71a6a4f

Please sign in to comment.