Releases: CodeYourFuture/eslint-config-standard
Releases · CodeYourFuture/eslint-config-standard
v6.0.0
Migrated from deprecated ESLint rules to Stylistic.
Breaking changes:
- changed the package API
- dropped support for ESLint < 8.45
- dropped support for deprecated (non-"flat") config
v5.1.0
Adds .d.ts
type definitions to the configurations.
v5.0.0
Supports ESLint v9 and the new "flat config" configuration style.
Breaking change: dropped support for ESLint < 8.27
See #16
v4.0.3
Breaking change: the case
s within a switch
statement need to be indented one level:
switch (thing) {
-case true:
- console.log("yes");
- break;
-default:
- console.log("no");
+ case true:
+ console.log("yes");
+ break;
+ default:
+ console.log("no");
}
Also the versions of Node used in testing are now 16, 18 and 20; 12 and 14 are no longer supported.
v3.0.0
Breaking change: unnecessary backticks around strings that don't contain interpolation are now forbidden:
-const no = `foo`;
+const no = "foo";
const yes = `this ${no}`;
See #13
v2.1.0
Adds a slightly more permissive set of rules, which you can enable by extending "@codeyourfuture/eslint-config-standard/lax"
instead of "@codeyourfuture/standard"
.
v2.0.0
Breaking change: the indent rule has switched from spaces to tabs (because tabs are more accessible).
v1.0.0
A standard ESLint configuration for all CYF examples/projects.