Skip to content

Commit 8e592ac

Browse files
committed
bump some deps
1 parent 048cb1f commit 8e592ac

File tree

9 files changed

+297
-97
lines changed

9 files changed

+297
-97
lines changed

.eslintrc.json

Lines changed: 64 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,52 +19,109 @@
1919
],
2020
"root": true,
2121
"rules": {
22+
"@typescript-eslint/consistent-indexed-object-style": "off",
23+
"@typescript-eslint/consistent-type-definitions": "off",
24+
"@typescript-eslint/explicit-function-return-type": "off",
25+
"@typescript-eslint/lines-around-comment": "off",
26+
"@typescript-eslint/no-type-alias": "off",
27+
"@typescript-eslint/prefer-destructuring": "off",
2228
"capitalized-comments": "off",
2329
"comma-dangle": [
2430
"error",
2531
"always-multiline"
2632
],
33+
"compat/compat": "off",
2734
"curly": [
2835
"error",
2936
"multi"
3037
],
38+
"eslint-comments/no-use": "off",
39+
"etc/no-deprecated": "off",
40+
"etc/no-internal": "off",
41+
"etc/no-misused-generics": "off",
42+
"etc/prefer-interface": "off",
43+
"ext/lines-between-object-properties": "off",
3144
"func-names": [
3245
"error",
3346
"always"
3447
],
35-
"import/no-unassigned-import": "off",
36-
"indent": [
48+
"id-length": [
3749
"error",
38-
2
50+
{
51+
"exceptions": [
52+
"t"
53+
],
54+
"min": 2
55+
}
3956
],
57+
"import/extensions": "off",
58+
"import/newline-after-import": "off",
59+
"import/no-unassigned-import": "off",
60+
"import/order": "off",
61+
"import/prefer-default-export": "off",
62+
"indent": "off",
63+
"line-comment-position": "off",
64+
"lines-around-comment": "off",
4065
"lines-between-class-members": "off",
66+
"logical-assignment-operators": "off",
67+
"max-len": "off",
4168
"max-statements-per-line": "off",
4269
"no-console": "off",
70+
"no-inline-comments": "off",
71+
"no-restricted-syntax": [
72+
"error",
73+
{
74+
"message": "Avoid using Class, just use good old unit-testable functions :)",
75+
"selector": "ClassDeclaration"
76+
},
77+
{
78+
"message": "Don't specify return type on function",
79+
"selector": "FunctionDeclaration[returnType]"
80+
},
81+
{
82+
"message": "Don't specify return type on function",
83+
"selector": "FunctionExpression[returnType]"
84+
}
85+
],
4386
"object-curly-spacing": [
4487
"error",
4588
"always"
4689
],
4790
"padding-line-between-statements": "off",
91+
"prefer-destructuring": "off",
92+
"prettier/prettier": "off",
93+
"putout/putout": "off",
4894
"quote-props": [
4995
"error",
5096
"consistent-as-needed"
5197
],
52-
"quotes": [
98+
"quotes": "off",
99+
"regexp/require-unicode-sets-regexp": "off",
100+
"require-atomic-updates": [
53101
"error",
54-
"single"
102+
{
103+
"allowProperties": true
104+
}
55105
],
56106
"semi": [
57107
"error",
58108
"never"
59109
],
110+
"simple-import-sort/imports": "off",
60111
"space-before-function-paren": [
61112
"error",
62113
"always"
63114
],
115+
"space-before-function-parent": "off",
116+
"total-functions/no-partial-division": "off",
117+
"total-functions/no-unsafe-readonly-mutable-assignment": "off",
118+
"typescript-compat/compat": "off",
64119
"unicorn/no-array-for-each": "off",
65120
"unicorn/no-process-exit": "off",
66121
"unicorn/prefer-module": "off",
67122
"unicorn/prefer-node-protocol": "off",
123+
"unicorn/prefer-spread": "off",
124+
"unicorn/prefer-string-replace-all": "off",
68125
"unicorn/prefer-switch": "off",
69126
"unicorn/prevent-abbreviations": [
70127
"error",
@@ -78,9 +135,10 @@
78135
],
79136
"vue/first-attribute-linebreak": "off",
80137
"vue/html-closing-bracket-newline": "off",
138+
"vue/html-indent": "off",
81139
"vue/html-self-closing": "off",
82140
"vue/max-attributes-per-line": "off",
83141
"vue/no-multiple-template-root": "off",
84142
"vue/singleline-html-element-content-newline": "off"
85143
}
86-
}
144+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
*.tgz
33
dist
44
node_modules
5+
.eslintcache

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
enable-pre-post-scripts=true

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Vue Image Compare
22

3+
[![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/Shuunen/vue-image-compare?style=flat)](https://codeclimate.com/github/Shuunen/vue-image-compare)
34
[![Install size](https://badgen.net/packagephobia/install/vue-image-compare2)](https://packagephobia.com/result?p=vue-image-compare2)
45
[![Publish size](https://img.shields.io/bundlephobia/min/vue-image-compare2?label=publish%20size)](https://bundlephobia.com/package/vue-image-compare2)
56
[![npm](https://img.shields.io/npm/v/vue-image-compare2.svg?color=informational)](https://www.npmjs.com/package/vue-image-compare2)
@@ -9,7 +10,6 @@
910
[![GitHub license](https://img.shields.io/github/license/shuunen/vue-image-compare.svg?color=informational)](https://github.com/Shuunen/vue-image-compare/blob/master/LICENSE)
1011

1112
[![Website](https://img.shields.io/website/https/image-compare.netlify.app.svg)](https://image-compare.netlify.app)
12-
[![BCH compliance](https://bettercodehub.com/edge/badge/Shuunen/vue-image-compare?branch=master)](https://bettercodehub.com/)
1313

1414
- [Vue Image Compare](#vue-image-compare)
1515
- [Purpose of this fork](#purpose-of-this-fork)
@@ -175,7 +175,6 @@ To contribute or try this component :
175175
- [Repo-checker](https://github.com/Shuunen/repo-checker) : eslint cover /src code and this tool the rest ^^
176176
- [Servor](https://github.com/lukejacksonn/servor) : dependency free dev server for single page app development
177177
- [Shields.io](https://shields.io) : nice looking badges to be proud of
178-
- [Shuutils](https://github.com/Shuunen/shuutils) : collection of pure JS utils
179178
- [vite-vue2-starter](https://github.com/matt-auckland/vite-vue2-starter): for the vite vue 2 starter pack
180179
- [Vite](https://github.com/vitejs/vite) : super fast frontend tooling
181180
- [Vue](https://vuejs.org) : when I need a front framework, this is the one I choose <3

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/package",
23
"author": "Marcin Cichocki <marcincichocki1993@gmail.com>",
34
"bugs": "https://github.com/Shuunen/vue-image-compare/issues",
45
"contributors": [
@@ -8,14 +9,14 @@
89
],
910
"description": "Compare two images with a fancy slider",
1011
"devDependencies": {
11-
"eslint": "8.20",
12-
"eslint-plugin-unicorn": "43",
13-
"eslint-plugin-html": "7",
14-
"eslint-plugin-vue": "9",
12+
"eslint": "8.57",
13+
"eslint-plugin-html": "8.1",
14+
"eslint-plugin-unicorn": "54",
15+
"eslint-plugin-vue": "9.26",
16+
"shuutils": "8.0",
1517
"vite": "2.9",
1618
"vite-plugin-vue2": "2.0",
1719
"vue": "2.7",
18-
"shuutils": "5.7",
1920
"vue-template-compiler": "2.7"
2021
},
2122
"displayName": "Vue Image Compare",
@@ -43,7 +44,7 @@
4344
"build": "vite build && unique-mark dist/assets/index.*.js && echo build success",
4445
"check": "pnpm install && echo install success && pnpm build && pnpm lint",
4546
"dev": "vite",
46-
"lint": "eslint --fix --ignore-path .gitignore --ext .js,.html,.vue . && echo lint success",
47+
"lint": "eslint --cache --fix --ignore-path .gitignore --ext .js,.html,.vue . && echo lint success",
4748
"postversion": "git push && git push --tags && npm publish",
4849
"preversion": "pnpm check",
4950
"serve": "vite preview"

0 commit comments

Comments
 (0)