Skip to content

Commit

Permalink
Merge branch 'master' into new-rules
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Jan 16, 2024
2 parents 72f84bd + 30cadda commit 7036d58
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 8 deletions.
6 changes: 6 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.2.0](https://github.com/rambler-digital-solutions/rambler-configs/compare/@rambler-tech/[email protected]...@rambler-tech/[email protected]) (2023-12-15)

### Features

- **eslint-config:** add no-duplicate-imports, no-constant-condition ([7b653e7](https://github.com/rambler-digital-solutions/rambler-configs/commit/7b653e7c01c295148be1c8d4a1da171d48f37338))

## [0.1.1](https://github.com/rambler-digital-solutions/rambler-configs/compare/@rambler-tech/[email protected]...@rambler-tech/[email protected]) (2023-10-09)

### Bug Fixes
Expand Down
19 changes: 13 additions & 6 deletions packages/eslint-config/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ module.exports = {
rules: {
'no-multiple-empty-lines': ['error', {max: 1}],
'no-empty': ['error', {allowEmptyCatch: true}],
curly: ['error', 'all'],
semi: ['error', 'never'],
'comma-dangle': ['error', 'never'],
'eol-last': ['error', 'always'],
camelcase: ['error', {ignoreDestructuring: true}],
eqeqeq: ['error', 'always', {null: 'ignore'}],
'prefer-const': ['error', {ignoreReadBeforeAssign: true}],
'prefer-spread': 'error',
'prefer-template': 'error',
Expand All @@ -29,11 +35,6 @@ module.exports = {
{enforceForRenamedProperties: true}
],
'prefer-arrow-callback': 'error',
curly: ['error', 'all'],
semi: ['error', 'never'],
'comma-dangle': ['error', 'never'],
'eol-last': ['error', 'always'],
camelcase: ['error', {ignoreDestructuring: true}],
'no-magic-numbers': [
'error',
{
Expand All @@ -43,7 +44,6 @@ module.exports = {
ignoreClassFieldInitialValues: true
}
],
eqeqeq: ['error', 'always', {null: 'ignore'}],
'dot-notation': 'error',
'max-depth': ['error', 2],
'max-nested-callbacks': ['error', 2],
Expand Down Expand Up @@ -85,6 +85,13 @@ module.exports = {
next: 'expression'
}
],
'no-duplicate-imports': 2,
'no-constant-condition': [
'error',
{
checkLoops: false
}
],
'import/no-unresolved': ['error', {caseSensitiveStrict: true}],
'import/no-cycle': 'error',
'import/no-useless-path-segments': 'error',
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rambler-tech/eslint-config",
"version": "0.1.1",
"version": "0.2.0",
"main": "index.js",
"license": "MIT",
"sideEffects": false,
Expand Down
6 changes: 6 additions & 0 deletions packages/ts-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.1.0](https://github.com/rambler-digital-solutions/rambler-configs/compare/@rambler-tech/[email protected]...@rambler-tech/[email protected]) (2023-12-14)

### Features

- **ts-config:** add skipLibCheck and verbatimModuleSyntax ([57957d1](https://github.com/rambler-digital-solutions/rambler-configs/commit/57957d1efb5c4821028ef56b5e6663cc748f14d1))

## 0.0.2 (2023-09-20)

**Note:** Version bump only for package @rambler-tech/ts-config
Expand Down
2 changes: 1 addition & 1 deletion packages/ts-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rambler-tech/ts-config",
"version": "0.0.2",
"version": "0.1.0",
"main": "base.json",
"license": "MIT",
"sideEffects": false,
Expand Down

0 comments on commit 7036d58

Please sign in to comment.