@mikey-pro/eslint-config 6.6.1 → 7.0.0
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/LICENSE +1 -1
- package/index.js +0 -69
- package/package.json +32 -1
package/LICENSE
CHANGED
package/index.js
CHANGED
|
@@ -130,75 +130,6 @@ module.exports = {
|
|
|
130
130
|
'prettier/prettier': [1, { parser: 'html' }],
|
|
131
131
|
},
|
|
132
132
|
},
|
|
133
|
-
{
|
|
134
|
-
extends: ['plugin:vue/vue3-recommended'],
|
|
135
|
-
files: ['*.vue'],
|
|
136
|
-
parser: 'vue-eslint-parser',
|
|
137
|
-
parserOptions: {
|
|
138
|
-
babelOptions: {
|
|
139
|
-
plugins: [
|
|
140
|
-
'eslint-plugin-vue',
|
|
141
|
-
[
|
|
142
|
-
'@babel/plugin-transform-react-jsx',
|
|
143
|
-
{
|
|
144
|
-
pragma: 'h',
|
|
145
|
-
pragmaFrag: 'Fragment',
|
|
146
|
-
runtime: 'automatic',
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
],
|
|
150
|
-
presets: [
|
|
151
|
-
[
|
|
152
|
-
'@babel/preset-env',
|
|
153
|
-
{
|
|
154
|
-
targets: {
|
|
155
|
-
node: 'current',
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
],
|
|
160
|
-
},
|
|
161
|
-
ecmaVersion: 'latest',
|
|
162
|
-
requireConfigFile: false,
|
|
163
|
-
sourceType: 'module',
|
|
164
|
-
},
|
|
165
|
-
rules: {
|
|
166
|
-
'prettier/prettier': 1,
|
|
167
|
-
'vue/component-tags-order': [
|
|
168
|
-
1,
|
|
169
|
-
{
|
|
170
|
-
order: [['script', 'template'], 'style'],
|
|
171
|
-
},
|
|
172
|
-
],
|
|
173
|
-
'vue/html-self-closing': [
|
|
174
|
-
1,
|
|
175
|
-
{
|
|
176
|
-
html: {
|
|
177
|
-
component: 'always',
|
|
178
|
-
normal: 'always',
|
|
179
|
-
void: 'always',
|
|
180
|
-
},
|
|
181
|
-
math: 'always',
|
|
182
|
-
svg: 'always',
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
},
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
files: ['*.svelte'],
|
|
189
|
-
extends: ['plugin:svelte/all'],
|
|
190
|
-
parser: "svelte-eslint-parser",
|
|
191
|
-
parserOptions: {
|
|
192
|
-
parser: "@typescript-eslint/parser",
|
|
193
|
-
},
|
|
194
|
-
rules: {
|
|
195
|
-
'import/first': 0,
|
|
196
|
-
'import/no-duplicates': 0,
|
|
197
|
-
'import/no-mutable-exports': 0,
|
|
198
|
-
'import/no-unresolved': 0,
|
|
199
|
-
'prettier/prettier': 0,
|
|
200
|
-
},
|
|
201
|
-
},
|
|
202
133
|
{
|
|
203
134
|
extends: ['plugin:jsonc/recommended-with-jsonc'],
|
|
204
135
|
files: ['*.jsonc', '*rc'],
|
package/package.json
CHANGED
|
@@ -1,8 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Mikey Pro ESLint configuration",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"dependencies": {
|
|
7
|
+
"@babel/core": "^7.23.9",
|
|
8
|
+
"@babel/eslint-parser": "^7.23",
|
|
9
|
+
"@babel/eslint-plugin": "^7.23",
|
|
10
|
+
"@babel/preset-env": "^7.23",
|
|
11
|
+
"@babel/preset-react": "^7.23.3",
|
|
12
|
+
"@cypress/eslint-plugin-json": "^3.2.3",
|
|
13
|
+
"@html-eslint/eslint-plugin": "^0.23.1",
|
|
14
|
+
"@html-eslint/parser": "^0.23.0",
|
|
15
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
16
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
17
|
+
"eslint-config-prettier": "^9.1",
|
|
18
|
+
"eslint-config-react-app-bump": "^1.0.21",
|
|
19
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
20
|
+
"eslint-plugin-compat": "^4.2",
|
|
21
|
+
"eslint-plugin-css-modules": "^2.12",
|
|
22
|
+
"eslint-plugin-cypress": "^2.15.1",
|
|
23
|
+
"eslint-plugin-disable-autofix": "^4.2.0",
|
|
24
|
+
"eslint-plugin-jest": "^27.6.3",
|
|
25
|
+
"eslint-plugin-jsonc": "^2.13.0",
|
|
26
|
+
"eslint-plugin-markdownlint": "^0.5.0",
|
|
27
|
+
"eslint-plugin-n": "^16.6.2",
|
|
28
|
+
"eslint-plugin-only-warn": "^1.1.0",
|
|
29
|
+
"eslint-plugin-prettier": "^5.1",
|
|
30
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
31
|
+
"eslint-plugin-toml": "^0.9.2",
|
|
32
|
+
"eslint-plugin-unicorn": "^51.0.1",
|
|
33
|
+
"eslint-plugin-yaml": "^0.5.0",
|
|
34
|
+
"postcss": "^8.4.35",
|
|
35
|
+
"postcss-scss": "^4.0.9"
|
|
36
|
+
},
|
|
6
37
|
"files": [
|
|
7
38
|
"index.js",
|
|
8
39
|
"README.md",
|