@bigbinary/eslint-plugin-neeto 1.0.14 → 1.0.16
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 +19 -13
- package/dist/index.js +2425 -503
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ neeto.
|
|
|
8
8
|
Install the plugin from npm:
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
yarn add -D "@bigbinary/eslint-plugin-neeto@1.0.
|
|
11
|
+
yarn add -D "@bigbinary/eslint-plugin-neeto@1.0.16"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
In your eslintrc.js file, add `neeto` in the `plugins` list and add the required
|
|
@@ -30,13 +30,17 @@ module.exports = {
|
|
|
30
30
|
|
|
31
31
|
## Exported rules
|
|
32
32
|
|
|
33
|
-
- [consistent-button-link-anchor](./docs/src/rules/consistent-button-link-anchor.md)
|
|
34
|
-
- [neetocommons-tips](./docs/src/rules/neetocommons-tips.md)
|
|
35
33
|
- [api-connector-name-should-match-filename](./docs/src/rules/api-connector-name-should-match-filename.md)
|
|
36
34
|
- [api-connector-should-use-default-export](./docs/src/rules/api-connector-should-use-default-export.md)
|
|
37
35
|
- [combine-multiple-independent-awaits](./docs/src/rules/combine-multiple-independent-awaits.md)
|
|
38
|
-
- [
|
|
36
|
+
- [consistent-button-link-anchor](./docs/src/rules/consistent-button-link-anchor.md)
|
|
37
|
+
- [ensure-zustand-stores-are-type-annotated](./docs/src/rules/ensure-zustand-stores-are-type-annotated.md)
|
|
38
|
+
- [ensure-zustand-import-names-are-consistent](./docs/src/rules/ensure-zustand-import-names-are-consistent.md)
|
|
39
|
+
- [file-name-and-export-name-standards](./docs/src/rules/file-name-and-export-name-standards.md)
|
|
40
|
+
- [minimize-zustand-store-access-scope](./docs/src/rules/minimize-zustand-store-access-scope.md)
|
|
41
|
+
- [neetocommons-tips](./docs/src/rules/neetocommons-tips.md)
|
|
39
42
|
- [no-axios-import-outside-apis](./docs/src/rules/no-axios-import-outside-apis.md)
|
|
43
|
+
- [no-blacklisted-imports](./docs/src/rules/no-blacklisted-imports.md)
|
|
40
44
|
- [no-dangling-constants](./docs/src/rules/no-dangling-constants.md)
|
|
41
45
|
- [no-dangling-functions](./docs/src/rules/no-dangling-functions.md)
|
|
42
46
|
- [no-excess-function-arguments](./docs/src/rules/no-excess-function-arguments.md)
|
|
@@ -49,14 +53,17 @@ module.exports = {
|
|
|
49
53
|
- [no-routes-destructure-and-reassignment](./docs/src/rules/no-routes-destructure-and-reassignment.md)
|
|
50
54
|
- [prefix-neeto-ui-import-alias](./docs/src/rules/prefix-neeto-ui-import-alias.md)
|
|
51
55
|
- [ramda-tips](./docs/src/rules/ramda-tips.md)
|
|
52
|
-
- [routes-should-match-object-path](./docs/src/rules/routes-should-match-object-path.md)
|
|
53
56
|
- [routes-should-be-declared-and-default-exported](./docs/src/rules/routes-should-be-declared-and-default-exported.md)
|
|
57
|
+
- [routes-should-match-object-path](./docs/src/rules/routes-should-match-object-path.md)
|
|
58
|
+
- [use-array-methods](./docs/src/rules/use-array-methods.md)
|
|
54
59
|
- [use-axios-config-for-passing-query-parameters](./docs/src/rules/use-axios-config-for-passing-query-parameters.md)
|
|
55
|
-
- [use-constant-case](./docs/src/rules/use-constant-case.md)
|
|
56
60
|
- [use-common-routes](./docs/src/rules/use-common-routes.md)
|
|
61
|
+
- [use-neetoui-classes](./docs/src/rules/use-neetoui-classes.md)
|
|
57
62
|
- [use-snake-case-for-api-connector-filename](./docs/src/rules/use-snake-case-for-api-connector-filename.md)
|
|
58
63
|
- [use-webpack-alias](./docs/src/rules/use-webpack-alias.md)
|
|
59
64
|
- [webpack-aliases-and-jsconfig-paths-should-be-in-sync](./docs/src/rules/webpack-aliases-and-jsconfig-paths-should-be-in-sync.md)
|
|
65
|
+
- [zustand-recommend-comparator-function-usage](./docs/src/rules/zustand-recommend-comparator-function-usage.md)
|
|
66
|
+
- [zustand-use-prop-to-pick-single-item](./docs/src/rules/zustand-use-prop-to-pick-single-item.md)
|
|
60
67
|
|
|
61
68
|
## Development setup
|
|
62
69
|
|
|
@@ -118,18 +125,17 @@ https://vimeo.com/723326900/785d6fe167
|
|
|
118
125
|
Follow these steps to create a new release:
|
|
119
126
|
|
|
120
127
|
- Before starting work on the new release, create a branch with the next release
|
|
121
|
-
version as its name (`1.X.Y`) from
|
|
128
|
+
version as its name (`1.X.Y`) from main branch.
|
|
122
129
|
|
|
123
130
|
- Update the version of the package in [README.md](README.md) and
|
|
124
131
|
[package.json](package.json), and commit the changes in the branch that was
|
|
125
132
|
created in the previous step.
|
|
126
133
|
|
|
127
|
-
- Create a draft PR of this branch targeting `
|
|
128
|
-
|
|
134
|
+
- Create a draft PR of this branch targeting `main` and start working on the new
|
|
135
|
+
release.
|
|
129
136
|
|
|
130
|
-
Whenever a PR is merged to `
|
|
131
|
-
changes to this PR as well. This way the branch will stay in sync with
|
|
132
|
-
`master`.
|
|
137
|
+
Whenever a PR is merged to `main`, `bot-bigbinary` will auto-merge those
|
|
138
|
+
changes to this PR as well. This way the branch will stay in sync with `main`.
|
|
133
139
|
|
|
134
140
|
- Add a checklist to the PR `1.X.Y` whenever a new change is auto-added to it
|
|
135
141
|
(when another feature PR is merged). The checklist will be helpful during
|
|
@@ -154,7 +160,7 @@ Follow these steps to create a new release:
|
|
|
154
160
|
|
|
155
161
|
Tag name: `1.X.Y` (use `Create new tag on publish` option)
|
|
156
162
|
|
|
157
|
-
Target: `
|
|
163
|
+
Target: `main`
|
|
158
164
|
|
|
159
165
|
Release Title: `v1.X.Y`
|
|
160
166
|
|