Skip to content

Releases: CodeYourFuture/eslint-config-standard

v6.0.1

16 Jan 13:39
Compare
Choose a tag to compare

v6.0.0

16 Jan 13:32
Compare
Choose a tag to compare

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

04 May 08:18
Compare
Choose a tag to compare

Adds .d.ts type definitions to the configurations.

v5.0.0

28 Apr 11:54
Compare
Choose a tag to compare

Supports ESLint v9 and the new "flat config" configuration style.

Breaking change: dropped support for ESLint < 8.27

See #16

v4.0.3

06 Jul 09:44
Compare
Choose a tag to compare

Breaking change: the cases 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

20 Jul 19:45
Compare
Choose a tag to compare

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

18 Dec 23:52
Compare
Choose a tag to compare

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

18 Dec 23:53
Compare
Choose a tag to compare

Breaking change: the indent rule has switched from spaces to tabs (because tabs are more accessible).

v1.0.0

18 Dec 23:56
Compare
Choose a tag to compare

A standard ESLint configuration for all CYF examples/projects.