This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ESLegant/configs/js/CHANGELOG.md
github-actions[bot] 550dd09e89 ci: 👷🦋 version packages
2023-09-10 00:47:14 +00:00

2.4 KiB

@eslit/config

0.3.0

Minor Changes

  • Added rules for NodeJS environments, using the eslint-plugin-n and eslint-plugin-security. (dcce924)

    The added configs in the recommended object helps preventing issues such as using deprecated or unsupported APIs and warns about security issues. Building on top of the recommended configs of the plugins.

    In the strict object they helps making the code more node-explicit, such as importing global variables (e.g. process needs to be imported from node:process).

  • Added new ESLint rules inspired by StandardJS. (4a1f38f)

  • New rules structure. (#18)

    Now all configs have at least recommended and strict variants, each having error, warn and disabled/off rule levels. They are exported under the configs object, and are separated by purpose. Presets are now exported under the presets object, being a easier way of enabling multiple configs at once.

    The package has a more defined purpose, and will be used just for rules/configs related to JavaScript and TypeScript.

  • Configs now export a default variation, where rule leves aren't overriden. (f4e52b9)

  • New rules related to possible security vulnerabilities in JavaScript. (2e1914c) Provided by eslint-plugin-security and eslint-plugin-no-secrets

  • Renamed all packages from "eslit" to "eslegant" (3f773f5)

Patch Changes

  • Updated dependencies (10e5430)

  • Renamed @eslegant/config to @eslegant/js (#16)

0.2.0

Minor Changes

  • Rewritten most of the package logic, so now it uses a more standard ESLint configuration object structure. All configurations now are separated in scope and presets are created for better convenience when configuring ESLint. (#8) (fixes #3).