Skip to content

v2.0.0

Compare
Choose a tag to compare
@zavoloklom zavoloklom released this 22 Nov 09:26
· 69 commits to main since this release

2.0.0 (2024-11-22)

⚠ BREAKING CHANGES

  • Renamed bin/dclint.js to bin/dclint.cjs.
  • Docker entrypoint changed to use the compiled binary over the Node.js implementation.

New Rules

  • no-unbound-port-interfaces-rule: require port bindings to include interface ip (cbf7739)

Features

  • add Disabling Rules via Comments feature (9f2768a)
  • change building system to rollup, compiling linter into a binary (dc0ebcf)
  • cli: add --max-warnings option to enforce warning threshold (712a8df)
  • no-build-and-image-rule: add checkPullPolicy option to allow simultaneous usage of build and image (7a01d07)
  • require-quotes-in-ports-rule: handle "expose" section similar to "ports (601a50f)
  • schema: update docker compose schema from source (f4e0a36)

Bug Fixes

  • change handling ports when it is a yamlMa (2e1a97d)
  • require-quotes-in-ports-rule: ensure single port values are wrapped in quotes (a7316a9)

Dependencies

  • bump yaml from 2.5.1 to 2.6.0 (2924e3e)
  • dev: bump @semantic-release/github from 11.0.0 to 11.0.1 (3cfe923)
  • dev: bump @stylistic/eslint-plugin from 2.9.0 to 2.10.1 (5f8ccfe)
  • dev: bump @types/node from 20.16.10 to 20.16.13 (39be7f5)
  • dev: bump @types/node from 20.16.13 to 20.17.1 (44e2c80)
  • dev: bump @types/node from 20.17.1 to 20.17.6 (7d3e5aa)
  • dev: bump ava from 6.1.3 to 6.2.0 (e726cac)
  • dev: bump markdownlint-cli2 from 0.14.0 to 0.15.0 (a6e10ae)
  • dev: bump semantic-release from 24.1.2 to 24.2.0 (844a516)
  • dev: bump tsimp from 2.0.11 to 2.0.12 (7ae8289)
  • dev: bump tslib from 2.7.0 to 2.8.0 (3ce911b)
  • dev: bump tslib from 2.8.0 to 2.8.1 (870a37a)
  • dev: bump typescript from 5.5.4 to 5.6.3 (37033c5)

Documentation

  • no-unbound-port-interfaces-rule: rename rule and add documentation (6649594)

CI/CD

Others

  • add new linters and fix eslint warnings (69d77d6)
  • change indentation and fix linter warnings (c612468)
  • change markdownlint scripts (52cb677)
  • move pull_request_template (faf1e72)
  • rename linter config schema (a6e9e2e)