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
recommendedobject 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
strictobject they helps making the code more node-explicit, such as importing global variables (e.g.processneeds to be imported fromnode:process). -
Added new ESLint rules inspired by StandardJS. (
4a1f38f) -
New rules structure. (#18)
Now all configs have at least
recommendedandstrictvariants, each havingerror,warnanddisabled/offrule levels. They are exported under theconfigsobject, and are separated by purpose. Presets are now exported under thepresetsobject, 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
defaultvariation, where rule leves aren't overriden. (f4e52b9) -
New rules related to possible security vulnerabilities in JavaScript. (
2e1914c) Provided byeslint-plugin-securityandeslint-plugin-no-secrets -
Renamed all packages from "eslit" to "eslegant" (
3f773f5)