@dvukovic/style-guide 0.3.49 → 0.3.51

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.
Files changed (2) hide show
  1. package/README.md +35 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,7 +15,7 @@ add the following scripts
15
15
  "scripts": {
16
16
  "lint": "yarn lint:prettier && yarn lint:eslint && yarn lint:stylelint && yarn lint:spell && yarn lint:package-json",
17
17
  "lint:eslint": "eslint . --cache",
18
- "lint:fix": "yarn lint:eslint --fix && yarn lint:prettier --write && yarn lint:stylelint --fix && yarn lint:spell && yarn lint:package-json",
18
+ "lint:fix": "yarn lint:eslint --fix && yarn lint:prettier --write && yarn lint:stylelint --fix && yarn lint:spell && yarn lint:package-json",
19
19
  "lint:package-json": "npmPkgJsonLint --configFile ./.packagerc.js .",
20
20
  "lint:prettier": "prettier --log-level=warn --check --cache .",
21
21
  "lint:spell": "cspell --config ./.cspellrc.js --no-progress --no-summary --unique '**'",
@@ -86,24 +86,50 @@ module.exports = {
86
86
  overrides: [
87
87
  {
88
88
  extends: [
89
- "./src/eslint/configs/core.js",
90
- "./src/eslint/configs/node.js",
91
- "./src/eslint/configs/mobx.js",
92
- "./src/eslint/configs/react.js",
93
- "./src/eslint/configs/next.js",
89
+ require.resolve(
90
+ "@dvukovic/style-guide/src/eslint/configs/core",
91
+ ),
92
+ require.resolve(
93
+ "@dvukovic/style-guide/src/eslint/configs/node",
94
+ ),
95
+ require.resolve(
96
+ "@dvukovic/style-guide/src/eslint/configs/mobx",
97
+ ),
98
+ require.resolve(
99
+ "@dvukovic/style-guide/src/eslint/configs/react",
100
+ ),
101
+ require.resolve(
102
+ "@dvukovic/style-guide/src/eslint/configs/next",
103
+ ),
94
104
  ],
95
105
  files: ["*.js", ".ts", ".*.cjs", "*.tsx"],
96
106
  },
97
107
  {
98
- extends: ["./src/eslint/configs/typescript.js"],
108
+ extends: [
109
+ require.resolve(
110
+ "@dvukovic/style-guide/src/eslint/configs/typescript",
111
+ ),
112
+ ],
99
113
  files: ["*.ts", "*.tsx"],
100
114
  },
101
115
  {
102
- extends: ["./src/eslint/configs/jest.js"],
116
+ extends: [
117
+ require.resolve(
118
+ "@dvukovic/style-guide/src/eslint/configs/jest",
119
+ ),
120
+ // OR
121
+ require.resolve(
122
+ "@dvukovic/style-guide/src/eslint/configs/vitest",
123
+ ),
124
+ ],
103
125
  files: ["*.test.ts", "*.test.js"],
104
126
  },
105
127
  {
106
- extends: ["./src/graphql/configs/core.js"],
128
+ extends: [
129
+ require.resolve(
130
+ "@dvukovic/style-guide/src/graphql/configs/core",
131
+ ),
132
+ ],
107
133
  files: ["*.graphql"],
108
134
  parser: "@graphql-eslint/eslint-plugin",
109
135
  parserOptions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvukovic/style-guide",
3
- "version": "0.3.49",
3
+ "version": "0.3.51",
4
4
  "description": "My own style guide",
5
5
  "repository": {
6
6
  "type": "git",