@dvukovic/style-guide 0.3.109 → 0.3.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvukovic/style-guide",
3
- "version": "0.3.109",
3
+ "version": "0.3.111",
4
4
  "description": "My own style guide",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,7 +37,7 @@
37
37
  "@stylistic/eslint-plugin": "5.6.1",
38
38
  "@typescript-eslint/parser": "8.50.0",
39
39
  "@vitest/eslint-plugin": "1.5.4",
40
- "eslint-plugin-es-x": "9.3.0",
40
+ "eslint-plugin-baseline-js": "0.4.2",
41
41
  "eslint-plugin-import-x": "4.16.1",
42
42
  "eslint-plugin-jest": "29.4.0",
43
43
  "eslint-plugin-mobx": "0.0.13",
@@ -125,3 +125,15 @@ pageleave
125
125
  opensearchservice
126
126
  httponly
127
127
  unthrown
128
+ supabase
129
+ tslog
130
+ fkey
131
+ msword
132
+ openxmlformats
133
+ officedocument
134
+ wordprocessingml
135
+ presentationml
136
+ spreadsheetml
137
+ pageleave
138
+ autocapture
139
+ opensearchservice
@@ -1,5 +1,5 @@
1
+ import { baseline } from "../plugins/baseline.js"
1
2
  import { dvukovic } from "../plugins/dvukovic.js"
2
- import { esX } from "../plugins/es-x.js"
3
3
  import { eslint } from "../plugins/eslint.js"
4
4
  import { eslintComments } from "../plugins/eslint-comments.js"
5
5
  import { importX } from "../plugins/import-x.js"
@@ -14,7 +14,7 @@ import { unicorn } from "../plugins/unicorn.js"
14
14
  import { unusedImports } from "../plugins/unused-imports.js"
15
15
 
16
16
  export const coreConfig = [
17
- esX,
17
+ baseline,
18
18
  eslint,
19
19
  eslintComments,
20
20
  importX,
@@ -0,0 +1,11 @@
1
+ import plugin from "eslint-plugin-baseline-js"
2
+
3
+ /** @type {import("@eslint/config-helpers").Config} */
4
+ export const baseline = {
5
+ plugins: {
6
+ "baseline-js": plugin,
7
+ },
8
+ rules: {
9
+ "baseline-js/use-baseline": ["error", { available: "widely" }],
10
+ },
11
+ }
@@ -1,11 +0,0 @@
1
- import plugin from "eslint-plugin-es-x"
2
-
3
- /** @type {import("@eslint/config-helpers").Config} */
4
- export const esX = {
5
- plugins: {
6
- "es-x": plugin,
7
- },
8
- rules: {
9
- ...plugin.configs["flat/restrict-to-es2022"].rules,
10
- },
11
- }