eslint-config-dolmios 1.3.8 → 1.3.9

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 (3) hide show
  1. package/index.js +22 -0
  2. package/package.json +2 -3
  3. package/reference.txt +68 -6
package/index.js CHANGED
@@ -32,6 +32,28 @@ module.exports = {
32
32
  "jsx-a11y/no-static-element-interactions": "warn",
33
33
  "jsx-a11y/scope": "warn",
34
34
  "import/first": "warn",
35
+ "react/button-has-type": "warn",
36
+ "react/destructuring-assignment": "warn",
37
+ "react/jsx-boolean-value": "warn",
38
+ "react/jsx-filename-extension": "warn",
39
+ "react/jsx-handler-names": "warn",
40
+ "react/jsx-no-bind": "warn",
41
+ "react/jsx-no-useless-fragment": "warn",
42
+ "react/jsx-pascal-case": "warn",
43
+ "react/jsx-sort-props": "warn",
44
+ "react/no-access-state-in-setstate": "warn",
45
+ "react/no-arrow-function-lifecycle": "warn",
46
+ "react/no-danger": "warn",
47
+ "react/no-invalid-html-attribute": "warn",
48
+ "react/no-multi-comp": "warn",
49
+ "react/no-set-state": "warn",
50
+ "react/no-this-in-sfc": "warn",
51
+ "react/no-typos": "warn",
52
+ "react/no-unused-state": "warn",
53
+ "react/self-closing-comp": "warn",
54
+ "react/sort-comp": "warn",
55
+ "react/style-prop-object": "warn",
56
+ "react/void-dom-elements-no-children": "warn",
35
57
  "import/order": [
36
58
  "error",
37
59
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-config-dolmios",
3
3
  "description": "A simple ESLint config with Prettier and a couple TSConfig setups",
4
- "version": "1.3.8",
4
+ "version": "1.3.9",
5
5
  "author": "Jackson Dolman <mail@dolmios.com>",
6
6
  "bugs": {
7
7
  "url": "https://github.com/dolmios/eslint-config-dolmios/issues"
@@ -34,8 +34,7 @@
34
34
  "scripts": {
35
35
  "lint": "eslint --ext .js",
36
36
  "prettier": "prettier --write .",
37
- "print": "eslint --print-config index.js",
38
- "print:file": "pnpm print > reference.txt",
37
+ "print": "eslint --print-config index.js > reference.txt",
39
38
  "tidy": "pnpm lint && pnpm prettier"
40
39
  }
41
40
  }
package/reference.txt CHANGED
@@ -1,14 +1,10 @@
1
-
2
- > eslint-config-dolmios@1.3.7 print /Users/dolmios/Github/eslint-config-dolmios
3
- > eslint --print-config index.js
4
-
5
1
  {
6
2
  "env": {
7
3
  "browser": true,
8
4
  "node": true
9
5
  },
10
6
  "globals": {},
11
- "parser": "/Users/dolmios/Github/eslint-config-dolmios/node_modules/.pnpm/@typescript-eslint+parser@5.47.1_iukboom6ndih5an6iafl45j2fe/node_modules/@typescript-eslint/parser/dist/index.js",
7
+ "parser": "/Users/dolmios/Github/eslint-config-dolmios/node_modules/.pnpm/@typescript-eslint+parser@5.48.0_iukboom6ndih5an6iafl45j2fe/node_modules/@typescript-eslint/parser/dist/index.js",
12
8
  "parserOptions": {
13
9
  "sourceType": "module",
14
10
  "requireConfigFile": false,
@@ -108,6 +104,72 @@
108
104
  "import/first": [
109
105
  "warn"
110
106
  ],
107
+ "react/button-has-type": [
108
+ "warn"
109
+ ],
110
+ "react/destructuring-assignment": [
111
+ "warn"
112
+ ],
113
+ "react/jsx-boolean-value": [
114
+ "warn"
115
+ ],
116
+ "react/jsx-filename-extension": [
117
+ "warn"
118
+ ],
119
+ "react/jsx-handler-names": [
120
+ "warn"
121
+ ],
122
+ "react/jsx-no-bind": [
123
+ "warn"
124
+ ],
125
+ "react/jsx-no-useless-fragment": [
126
+ "warn"
127
+ ],
128
+ "react/jsx-pascal-case": [
129
+ "warn"
130
+ ],
131
+ "react/jsx-sort-props": [
132
+ "warn"
133
+ ],
134
+ "react/no-access-state-in-setstate": [
135
+ "warn"
136
+ ],
137
+ "react/no-arrow-function-lifecycle": [
138
+ "warn"
139
+ ],
140
+ "react/no-danger": [
141
+ "warn"
142
+ ],
143
+ "react/no-invalid-html-attribute": [
144
+ "warn"
145
+ ],
146
+ "react/no-multi-comp": [
147
+ "warn"
148
+ ],
149
+ "react/no-set-state": [
150
+ "warn"
151
+ ],
152
+ "react/no-this-in-sfc": [
153
+ "warn"
154
+ ],
155
+ "react/no-typos": [
156
+ "warn"
157
+ ],
158
+ "react/no-unused-state": [
159
+ "warn"
160
+ ],
161
+ "react/self-closing-comp": [
162
+ "warn"
163
+ ],
164
+ "react/sort-comp": [
165
+ "warn"
166
+ ],
167
+ "react/style-prop-object": [
168
+ "warn"
169
+ ],
170
+ "react/void-dom-elements-no-children": [
171
+ "warn"
172
+ ],
111
173
  "import/order": [
112
174
  "error",
113
175
  {
@@ -986,7 +1048,7 @@
986
1048
  "version": "detect"
987
1049
  },
988
1050
  "import/parsers": {
989
- "/Users/dolmios/Github/eslint-config-dolmios/node_modules/.pnpm/@typescript-eslint+parser@5.47.1_iukboom6ndih5an6iafl45j2fe/node_modules/@typescript-eslint/parser/dist/index.js": [
1051
+ "/Users/dolmios/Github/eslint-config-dolmios/node_modules/.pnpm/@typescript-eslint+parser@5.48.0_iukboom6ndih5an6iafl45j2fe/node_modules/@typescript-eslint/parser/dist/index.js": [
990
1052
  ".ts",
991
1053
  ".mts",
992
1054
  ".cts",