Skip to content

Commit 37d922b

Browse files
Bump stylelint from 14.16.1 to 15.10.1 (#1253)
* Bump stylelint from 14.16.1 to 15.10.1 Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.16.1 to 15.10.1. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint@14.16.1...15.10.1) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> * Bump all linters * Fix husky config --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Frédéric Collonval <[email protected]>
1 parent db7bd77 commit 37d922b

File tree

7 files changed

+947
-708
lines changed

7 files changed

+947
-708
lines changed

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env sh
2+
yarn run lint-staged

.stylelintrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"extends": [
33
"stylelint-config-recommended",
4-
"stylelint-config-standard",
5-
"stylelint-prettier/recommended"
4+
"stylelint-config-standard"
65
],
76
"rules": {
87
"property-no-vendor-prefix": null,

package.json

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -111,44 +111,37 @@
111111
"@types/react-virtualized-auto-sizer": "^1.0.0",
112112
"@types/react-window": "^1.8.2",
113113
"@types/resize-observer-browser": "^0.1.7",
114-
"@typescript-eslint/eslint-plugin": "^4.8.1",
115-
"@typescript-eslint/parser": "^4.8.1",
114+
"@typescript-eslint/eslint-plugin": "^6.1.0",
115+
"@typescript-eslint/parser": "^6.1.0",
116116
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
117117
"all-contributors-cli": "^6.14.0",
118118
"enzyme": "^3.7.0",
119-
"eslint": "^7.14.0",
120-
"eslint-config-prettier": "^6.15.0",
121-
"eslint-plugin-prettier": "^3.1.4",
122-
"eslint-plugin-react": "^7.19.0",
119+
"eslint": "^8.45.0",
120+
"eslint-config-prettier": "^8.8.0",
121+
"eslint-plugin-prettier": "^5.0.0",
122+
"eslint-plugin-react": "^7.33.0",
123123
"genversion": "^2.2.1",
124-
"husky": "^1.3.1",
124+
"husky": "^8.0.3",
125125
"identity-obj-proxy": "^3.0.0",
126126
"jest": "^26.0.0",
127127
"jest-fetch-mock": "^3.0.0",
128-
"lint-staged": "^11.0.0",
128+
"lint-staged": "^13.2.3",
129129
"mkdirp": "^1.0.3",
130130
"npm-run-all": "^4.1.5",
131-
"prettier": "^2.1.1",
132-
"rimraf": "^3.0.2",
133-
"stylelint": "^14.3.0",
134-
"stylelint-config-prettier": "^9.0.4",
135-
"stylelint-config-recommended": "^6.0.0",
136-
"stylelint-config-standard": "~24.0.0",
137-
"stylelint-prettier": "^2.0.0",
131+
"prettier": "^3.0.0",
132+
"rimraf": "^5.0.1",
133+
"stylelint": "^15.10.1",
134+
"stylelint-config-recommended": "^13.0.0",
135+
"stylelint-config-standard": "~34.0.0",
138136
"ts-jest": "^26.0.0",
139-
"typescript": "~4.1.3"
137+
"typescript": "~4.3.5"
140138
},
141139
"peerDependencies": {
142140
"codemirror": "^5.0.0"
143141
},
144142
"directories": {
145143
"lib": "lib"
146144
},
147-
"husky": {
148-
"hooks": {
149-
"pre-commit": "lint-staged"
150-
}
151-
},
152145
"lint-staged": {
153146
"*.{ts,tsx}": [
154147
"eslint . --ext .ts,.tsx --fix"

src/components/FileList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ export class FileList extends React.Component<IFileListProps, IFileListState> {
466466
({
467467
...fileStatus,
468468
status: 'staged'
469-
} as Git.IStatusFile)
469+
}) as Git.IStatusFile
470470
)
471471
);
472472
break;
@@ -477,7 +477,7 @@ export class FileList extends React.Component<IFileListProps, IFileListState> {
477477
({
478478
...fileStatus,
479479
status: 'unstaged'
480-
} as Git.IStatusFile)
480+
}) as Git.IStatusFile
481481
)
482482
);
483483
break;

style/diff-text.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@
8181
.jp-git-PlainText-diff .CodeMirror-merge-copybuttons-left,
8282
.jp-git-PlainText-diff .CodeMirror-merge-copybuttons-right {
8383
position: absolute;
84-
left: 0;
85-
top: 0;
86-
right: 0;
87-
bottom: 0;
84+
inset: 0;
8885
line-height: 1;
8986
}
9087

style/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
@import url('~nbdime/lib/styles/diff.css');
88
@import url('~nbdime/lib/styles/merge.css');
99
@import url('~nbdime-jupyterlab/style/index.css');
10-
1110
@import url('base.css');

0 commit comments

Comments
 (0)