@greenberry/linting-config 0.2.1 → 0.2.3

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/README.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  ESLint and Prettier bundle for all things Greenberry.
4
4
 
5
+ ## Table of Contents
6
+
7
+ - [Greenberry linting-config](#greenberry-linting-config)
8
+ - [Table of Contents](#table-of-contents)
9
+ - [Publish a new version](#publish-a-new-version)
10
+ - [Install](#install)
11
+ - [NextJS](#nextjs)
12
+
13
+
14
+ ## Publish a new version
15
+
16
+ 1. Make your changes
17
+ 2. Review and merge your changes into `main`
18
+ 3. Run `npm run build`
19
+ 4. If it is a patch update: run `npm run publish:patch`
20
+ 5. If it is a minor update: run `npm run publish:minor`
21
+ 6. If it is a major update: run `npm run publish:major`
22
+ 7. Push the changed version number to `main`
23
+
5
24
  ## Install
6
25
 
7
26
  ```bash
@@ -1,3 +1,3 @@
1
- declare const _default: import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
1
+ declare const _default: import("eslint/config").Config[];
2
2
  export default _default;
3
3
  //# sourceMappingURL=eslint.config.d.ts.map
@@ -280,7 +280,7 @@ declare const config: ({
280
280
  };
281
281
  };
282
282
  "react-hooks": typeof reactHooksPlugin;
283
- import: import("eslint").ESLint.Plugin & {
283
+ import: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
284
284
  meta: {
285
285
  name: string;
286
286
  version: string;
@@ -309,7 +309,7 @@ declare const config: ({
309
309
  [key: string]: import("eslint").Rule.RuleModule;
310
310
  };
311
311
  };
312
- unicorn: import("eslint").ESLint.Plugin & {
312
+ unicorn: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
313
313
  configs: {
314
314
  recommended: import("eslint").Linter.FlatConfig;
315
315
  all: import("eslint").Linter.FlatConfig;
@@ -318,7 +318,7 @@ declare const config: ({
318
318
  };
319
319
  };
320
320
  "@next/next": typeof nextPlugin;
321
- "jsx-a11y": import("eslint").ESLint.Plugin & {
321
+ "jsx-a11y": import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin & {
322
322
  configs: {
323
323
  recommended: import("eslint").Linter.LegacyConfig;
324
324
  strict: import("eslint").Linter.LegacyConfig;
@@ -328,7 +328,7 @@ declare const config: ({
328
328
  strict: import("eslint").Linter.Config;
329
329
  };
330
330
  };
331
- prettier: import("eslint").ESLint.Plugin;
331
+ prettier: import("@eslint/core", { with: { "resolution-mode": "require" } }).Plugin;
332
332
  "react-compiler": typeof reactCompilerPlugin;
333
333
  };
334
334
  settings: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greenberry/linting-config",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -16,7 +16,9 @@
16
16
  "scripts": {
17
17
  "clean": "rm -rf dist",
18
18
  "build": "npm run clean && tsc",
19
- "release": "npm run build && npm version patch && npm publish --access public"
19
+ "release:patch": "npm run build && npm version patch && npm publish --access public",
20
+ "release:minor": "npm run build && npm version minor && npm publish --access public",
21
+ "release:major": "npm run build && npm version major && npm publish --access public"
20
22
  },
21
23
  "files": [
22
24
  "dist"