Skip to content

Commit

Permalink
chore: change indentation and fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
zavoloklom committed Nov 22, 2024
1 parent faf1e72 commit c612468
Show file tree
Hide file tree
Showing 79 changed files with 3,158 additions and 3,192 deletions.
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
}
],
"prettier/prettier": 2,
"@stylistic/indent": ["error", 4],
"@stylistic/indent-binary-ops": ["error", 4],
"@stylistic/indent": ["error", 2],
"@stylistic/indent-binary-ops": ["error", 2],
"arrow-body-style": 0,
"prefer-arrow-callback": 0,
"prefer-rest-params": 0,
Expand Down
26 changes: 13 additions & 13 deletions .markdownlint.cjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module.exports = {
"default": true,
"MD004": {
"style": "dash"
},
"MD013": {
"line_length": 120,
"ignore_code_blocks": true,
"ignore_urls": true,
"tables": false
},
"MD024": {
"siblings_only": true
}
'default': true,
'MD004': {
'style': 'dash',
},
'MD013': {
'line_length': 120,
'ignore_code_blocks': true,
'ignore_urls': true,
'tables': false,
},
'MD024': {
'siblings_only': true,
},
};
24 changes: 20 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
{
"printWidth": 120,
"tabWidth": 4,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always"
}
"arrowParens": "always",
"jsxSingleQuote": true,
"overrides": [
{
"files": "*.md",
"options": {
"parser": "markdown",
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": false,
"trailingComma": "none",
"proseWrap": "always",
"embeddedLanguageFormatting": "off"
}
}
]
}
101 changes: 69 additions & 32 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,97 +6,134 @@

### Others

- **deps-dev:** bump @semantic-release/github from 10.3.5 to 11.0.0 ([fcf7151](https://github.com/zavoloklom/docker-compose-linter/commit/fcf715159bdfcf7075a0c5efdbed0f8a9b518d5c))
- **deps-dev:** bump @stylistic/eslint-plugin from 2.8.0 to 2.9.0 ([73e3f13](https://github.com/zavoloklom/docker-compose-linter/commit/73e3f13b8c4f655521c979bd3df76d51f075b16b))
- **deps-dev:** bump @types/node from 20.16.5 to 20.16.10 ([2599b91](https://github.com/zavoloklom/docker-compose-linter/commit/2599b917c4c118d47ae0a79743e5717102a43316))
- **deps-dev:** bump eslint-plugin-import from 2.30.0 to 2.31.0 ([dbcd009](https://github.com/zavoloklom/docker-compose-linter/commit/dbcd0092468e8e1c7857b36feedcbab53ebc64d1))
- **deps-dev:** bump eslint-plugin-unicorn from 55.0.0 to 56.0.0 ([2a92689](https://github.com/zavoloklom/docker-compose-linter/commit/2a9268923c58dc8c65e2f852f6b18e241af417f2))
- **deps-dev:** bump esmock from 2.6.7 to 2.6.9 ([98d2f92](https://github.com/zavoloklom/docker-compose-linter/commit/98d2f920caa086145c6493676fd3efff414c6d58))
- **deps-dev:** bump semantic-release from 24.1.1 to 24.1.2 ([cdc1963](https://github.com/zavoloklom/docker-compose-linter/commit/cdc196300a0145f80ebcd1cf821b79b931b9ee34))
- update dependabot config ([321fa32](https://github.com/zavoloklom/docker-compose-linter/commit/321fa328276ad68eb9575399bdc8d24310268f6b))
- **deps-dev:** bump @semantic-release/github from 10.3.5 to 11.0.0
([fcf7151](https://github.com/zavoloklom/docker-compose-linter/commit/fcf715159bdfcf7075a0c5efdbed0f8a9b518d5c))
- **deps-dev:** bump @stylistic/eslint-plugin from 2.8.0 to 2.9.0
([73e3f13](https://github.com/zavoloklom/docker-compose-linter/commit/73e3f13b8c4f655521c979bd3df76d51f075b16b))
- **deps-dev:** bump @types/node from 20.16.5 to 20.16.10
([2599b91](https://github.com/zavoloklom/docker-compose-linter/commit/2599b917c4c118d47ae0a79743e5717102a43316))
- **deps-dev:** bump eslint-plugin-import from 2.30.0 to 2.31.0
([dbcd009](https://github.com/zavoloklom/docker-compose-linter/commit/dbcd0092468e8e1c7857b36feedcbab53ebc64d1))
- **deps-dev:** bump eslint-plugin-unicorn from 55.0.0 to 56.0.0
([2a92689](https://github.com/zavoloklom/docker-compose-linter/commit/2a9268923c58dc8c65e2f852f6b18e241af417f2))
- **deps-dev:** bump esmock from 2.6.7 to 2.6.9
([98d2f92](https://github.com/zavoloklom/docker-compose-linter/commit/98d2f920caa086145c6493676fd3efff414c6d58))
- **deps-dev:** bump semantic-release from 24.1.1 to 24.1.2
([cdc1963](https://github.com/zavoloklom/docker-compose-linter/commit/cdc196300a0145f80ebcd1cf821b79b931b9ee34))
- update dependabot config
([321fa32](https://github.com/zavoloklom/docker-compose-linter/commit/321fa328276ad68eb9575399bdc8d24310268f6b))

### Documentation

- add yaml anchor handling section ([a7b61bb](https://github.com/zavoloklom/docker-compose-linter/commit/a7b61bb877ed2e0e67dedac1395d2a32113c57df)), closes [#39](https://github.com/zavoloklom/docker-compose-linter/issues/39)
- change GitLab CI Example ([c421f23](https://github.com/zavoloklom/docker-compose-linter/commit/c421f2315a584adcc6b2414c25fa968e6053ffd8))
- add yaml anchor handling section
([a7b61bb](https://github.com/zavoloklom/docker-compose-linter/commit/a7b61bb877ed2e0e67dedac1395d2a32113c57df)),
closes [#39](https://github.com/zavoloklom/docker-compose-linter/issues/39)
- change GitLab CI Example
([c421f23](https://github.com/zavoloklom/docker-compose-linter/commit/c421f2315a584adcc6b2414c25fa968e6053ffd8))

### Bug Fixes

- add yaml anchor/fragments support ([4d9826f](https://github.com/zavoloklom/docker-compose-linter/commit/4d9826f59831a583080d13fed2dbad6d3fab5f61)), closes [#39](https://github.com/zavoloklom/docker-compose-linter/issues/39)
- add yaml anchor/fragments support
([4d9826f](https://github.com/zavoloklom/docker-compose-linter/commit/4d9826f59831a583080d13fed2dbad6d3fab5f61)),
closes [#39](https://github.com/zavoloklom/docker-compose-linter/issues/39)

## [1.0.6](https://github.com/zavoloklom/docker-compose-linter/compare/v1.0.5...v1.0.6) (2024-10-01)

### Bug Fixes

- run checks against any file provided by user and skip regex pattern ([0047590](https://github.com/zavoloklom/docker-compose-linter/commit/0047590e9459e7f13bfab81accd7fbac7c4139d9)), closes [#23](https://github.com/zavoloklom/docker-compose-linter/issues/23)
- run checks against any file provided by user and skip regex pattern
([0047590](https://github.com/zavoloklom/docker-compose-linter/commit/0047590e9459e7f13bfab81accd7fbac7c4139d9)),
closes [#23](https://github.com/zavoloklom/docker-compose-linter/issues/23)

## [1.0.5](https://github.com/zavoloklom/docker-compose-linter/compare/v1.0.4...v1.0.5) (2024-10-01)

### Others

- **deps-dev:** bump @semantic-release/github from 10.3.4 to 10.3.5 ([53e65a8](https://github.com/zavoloklom/docker-compose-linter/commit/53e65a848c6ea1bc82cbb4977eebb7564478d748))
- **deps-dev:** bump eslint from 8.57.0 to 8.57.1 ([2bbc6e7](https://github.com/zavoloklom/docker-compose-linter/commit/2bbc6e78179fa40fff5529caf0ff407f1449c8ed))
- **deps-dev:** bump @semantic-release/github from 10.3.4 to 10.3.5
([53e65a8](https://github.com/zavoloklom/docker-compose-linter/commit/53e65a848c6ea1bc82cbb4977eebb7564478d748))
- **deps-dev:** bump eslint from 8.57.0 to 8.57.1
([2bbc6e7](https://github.com/zavoloklom/docker-compose-linter/commit/2bbc6e78179fa40fff5529caf0ff407f1449c8ed))

### Documentation

- add pull request template ([3770397](https://github.com/zavoloklom/docker-compose-linter/commit/3770397c3aebc829d8f8d1a8dae297303d3158b0))
- update github issue templates ([a7ec994](https://github.com/zavoloklom/docker-compose-linter/commit/a7ec99412dcdda18f0405adfe10ed4f8e001a055))
- add pull request template
([3770397](https://github.com/zavoloklom/docker-compose-linter/commit/3770397c3aebc829d8f8d1a8dae297303d3158b0))
- update github issue templates
([a7ec994](https://github.com/zavoloklom/docker-compose-linter/commit/a7ec99412dcdda18f0405adfe10ed4f8e001a055))

### Bug Fixes

- Search for compose.ya?ml ([0050953](https://github.com/zavoloklom/docker-compose-linter/commit/00509536eac9929613649b805ffbf392dc068598))
- Search for compose.ya?ml
([0050953](https://github.com/zavoloklom/docker-compose-linter/commit/00509536eac9929613649b805ffbf392dc068598))

## [1.0.4](https://github.com/zavoloklom/docker-compose-linter/compare/v1.0.3...v1.0.4) (2024-09-20)

### Bug Fixes

- resolve error "key already set" in Service Keys Order Rule ([336723d](https://github.com/zavoloklom/docker-compose-linter/commit/336723d7ebcdf717f278896f7fbf0d39fce4f5e9)), closes [#9](https://github.com/zavoloklom/docker-compose-linter/issues/9)
- resolve error "key already set" in Service Keys Order Rule
([336723d](https://github.com/zavoloklom/docker-compose-linter/commit/336723d7ebcdf717f278896f7fbf0d39fce4f5e9)),
closes [#9](https://github.com/zavoloklom/docker-compose-linter/issues/9)

## [1.0.3](https://github.com/zavoloklom/docker-compose-linter/compare/v1.0.2...v1.0.3) (2024-09-20)

### CI/CD

- update version for upload-artifact and download-artifact actions ([f3187a6](https://github.com/zavoloklom/docker-compose-linter/commit/f3187a63679c7cbaf1ec5a6f009a4a09a0d4f366))
- update version for upload-artifact and download-artifact actions
([f3187a6](https://github.com/zavoloklom/docker-compose-linter/commit/f3187a63679c7cbaf1ec5a6f009a4a09a0d4f366))

### Bug Fixes

- handle port value provided with envs ([63c6176](https://github.com/zavoloklom/docker-compose-linter/commit/63c617671f0b55630a9bc36cfc65a734596e7c56)), closes [#8](https://github.com/zavoloklom/docker-compose-linter/issues/8)
- handle port value provided with envs
([63c6176](https://github.com/zavoloklom/docker-compose-linter/commit/63c617671f0b55630a9bc36cfc65a734596e7c56)),
closes [#8](https://github.com/zavoloklom/docker-compose-linter/issues/8)

## [1.0.2](https://github.com/zavoloklom/docker-compose-linter/compare/v1.0.1...v1.0.2) (2024-09-20)

### Others

- add GitHub issue template for bugs ([4163c30](https://github.com/zavoloklom/docker-compose-linter/commit/4163c3084c3dae80d85bedfc7daba86b21f36318))
- change order of semantic-release job ([e8d1831](https://github.com/zavoloklom/docker-compose-linter/commit/e8d1831a683e0d6428c30376b0a668b6138717a8))
- **deps-dev:** bump @eslint-community/regexpp from 4.11.0 to 4.11.1 ([910d6ea](https://github.com/zavoloklom/docker-compose-linter/commit/910d6ea91a433021158073970283301d0909f153))
- **deps-dev:** bump @semantic-release/github from 10.3.3 to 10.3.4 ([416f176](https://github.com/zavoloklom/docker-compose-linter/commit/416f176965b9e9fa894ee5d61e9b569b5d7f53a1))
- set up a security policy ([8c220ac](https://github.com/zavoloklom/docker-compose-linter/commit/8c220ac824cceec1b0fb1066c0a11fa98eac1116))
- add GitHub issue template for bugs
([4163c30](https://github.com/zavoloklom/docker-compose-linter/commit/4163c3084c3dae80d85bedfc7daba86b21f36318))
- change order of semantic-release job
([e8d1831](https://github.com/zavoloklom/docker-compose-linter/commit/e8d1831a683e0d6428c30376b0a668b6138717a8))
- **deps-dev:** bump @eslint-community/regexpp from 4.11.0 to 4.11.1
([910d6ea](https://github.com/zavoloklom/docker-compose-linter/commit/910d6ea91a433021158073970283301d0909f153))
- **deps-dev:** bump @semantic-release/github from 10.3.3 to 10.3.4
([416f176](https://github.com/zavoloklom/docker-compose-linter/commit/416f176965b9e9fa894ee5d61e9b569b5d7f53a1))
- set up a security policy
([8c220ac](https://github.com/zavoloklom/docker-compose-linter/commit/8c220ac824cceec1b0fb1066c0a11fa98eac1116))

### CI/CD

- add markdownlint command with @semantic-release/exec ([c6f8896](https://github.com/zavoloklom/docker-compose-linter/commit/c6f88964a174120041fff1b7744b3edde2f8c49e))
- remove uploading reports to Codacy from PR ([f67cf3c](https://github.com/zavoloklom/docker-compose-linter/commit/f67cf3ce8005cbdd3e8504341437a6629cce563b))
- add markdownlint command with @semantic-release/exec
([c6f8896](https://github.com/zavoloklom/docker-compose-linter/commit/c6f88964a174120041fff1b7744b3edde2f8c49e))
- remove uploading reports to Codacy from PR
([f67cf3c](https://github.com/zavoloklom/docker-compose-linter/commit/f67cf3ce8005cbdd3e8504341437a6629cce563b))

### Bug Fixes

- change cli-config JSON Schema ([a627504](https://github.com/zavoloklom/docker-compose-linter/commit/a627504f447e12d52d99617d8a1f9a7f99d0293f))
- change cli-config JSON Schema
([a627504](https://github.com/zavoloklom/docker-compose-linter/commit/a627504f447e12d52d99617d8a1f9a7f99d0293f))

## [1.0.1](https://github.com/zavoloklom/docker-compose-linter/compare/v1.0.0...v1.0.1) (2024-09-14)

### Others

- update CHANGELOG.md generation to comply with linting rules ([43a7efa](https://github.com/zavoloklom/docker-compose-linter/commit/43a7efafb0fea05e50f81805758c8eec61f64153))
- update CHANGELOG.md generation to comply with linting rules
([43a7efa](https://github.com/zavoloklom/docker-compose-linter/commit/43a7efafb0fea05e50f81805758c8eec61f64153))

### CI/CD

- add "Upload release artifacts" job ([2c12132](https://github.com/zavoloklom/docker-compose-linter/commit/2c12132e25c7b3de253f40c7f4bd2a0d50687315))
- add "Upload release artifacts" job
([2c12132](https://github.com/zavoloklom/docker-compose-linter/commit/2c12132e25c7b3de253f40c7f4bd2a0d50687315))

### Bug Fixes

- correct npm release ci job ([267979d](https://github.com/zavoloklom/docker-compose-linter/commit/267979d635d695680f6f567df66ea47aa4203477))
- correct npm release ci job
([267979d](https://github.com/zavoloklom/docker-compose-linter/commit/267979d635d695680f6f567df66ea47aa4203477))

## 1.0.0 (2024-09-14)

### Features

- initial release ([6969503](https://github.com/zavoloklom/docker-compose-linter/commit/69695032957556141669ea6a5daf213ba8479ffa))
- initial release
([6969503](https://github.com/zavoloklom/docker-compose-linter/commit/69695032957556141669ea6a5daf213ba8479ffa))
Loading

0 comments on commit c612468

Please sign in to comment.