Skip to content

Commit c2638f1

Browse files
chore: disble use-button-component rule (#119)
1 parent 9c41084 commit c2638f1

File tree

5 files changed

+13
-16
lines changed

5 files changed

+13
-16
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sourcegraph/eslint-plugin-sourcegraph': patch
3+
---
4+
5+
Disabled the `use-button-component` rule

packages/eslint-plugin/CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44

55
### Patch Changes
66

7-
- [#117](https://github.com/sourcegraph/codemod/pull/117) [`a72a1c3`](https://github.com/sourcegraph/codemod/commit/a72a1c34ad6422aee71fa000f18326ac2124e9d7) Thanks [@valerybugakov](https://github.com/valerybugakov)! - Imported the `check-help-links` eslint-plugin rule.
7+
- [#117](https://github.com/sourcegraph/codemod/pull/117) [`a72a1c3`](https://github.com/sourcegraph/codemod/commit/a72a1c34ad6422aee71fa000f18326ac2124e9d7) Thanks [@valerybugakov](https://github.com/valerybugakov)! - Imported the `check-help-links` eslint-plugin rule.
88

99
## 1.0.2
1010

1111
### Patch Changes
1212

13-
- [#115](https://github.com/sourcegraph/codemod/pull/115) [`309ca9b`](https://github.com/sourcegraph/codemod/commit/309ca9bfede3296e2813fa460c157bca3d0fcc1e) Thanks [@valerybugakov](https://github.com/valerybugakov)! - Upgraded `stylelint` version.
13+
- [#115](https://github.com/sourcegraph/codemod/pull/115) [`309ca9b`](https://github.com/sourcegraph/codemod/commit/309ca9bfede3296e2813fa460c157bca3d0fcc1e) Thanks [@valerybugakov](https://github.com/valerybugakov)! - Upgraded `stylelint` version.
1414

15-
- Updated dependencies [[`309ca9b`](https://github.com/sourcegraph/codemod/commit/309ca9bfede3296e2813fa460c157bca3d0fcc1e)]:
16-
- @sourcegraph/codemod-transforms@1.0.2
15+
- Updated dependencies [[`309ca9b`](https://github.com/sourcegraph/codemod/commit/309ca9bfede3296e2813fa460c157bca3d0fcc1e)]:
16+
- @sourcegraph/codemod-transforms@1.0.2
1717

1818
## 1.0.1
1919

2020
### Patch Changes
2121

22-
- Updated dependencies []:
23-
- @sourcegraph/codemod-transforms@1.0.1
22+
- Updated dependencies []:
23+
- @sourcegraph/codemod-transforms@1.0.1

packages/eslint-plugin/src/configs/all.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,4 @@
22
// DO NOT EDIT THIS CODE BY HAND
33
// YOU CAN REGENERATE IT USING yarn generate:configs
44

5-
export = {
6-
extends: ['./configs/base'],
7-
rules: {
8-
'@sourcegraph/sourcegraph/check-help-links': 'error',
9-
'@sourcegraph/sourcegraph/use-button-component': 'error',
10-
},
11-
}
5+
export = { extends: ['./configs/base'], rules: { '@sourcegraph/sourcegraph/check-help-links': 'error' } }
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
// This file is used by `scripts/generate-configs.ts` for rules extraction.
22
import { checkHelpLinks } from './check-help-links'
3-
import { useButtonComponent } from './use-button-component'
43

54
// eslint-disable-next-line import/no-default-export
65
export default {
7-
'use-button-component': useButtonComponent,
86
'check-help-links': checkHelpLinks,
97
}

packages/eslint-plugin/tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"rootDir": "./src",
55
},
66
"include": ["src", "types"],
7-
"exclude": ["./src/**/*.test.ts", "./src/**/fixtures"],
7+
"exclude": ["./src/**/*.test.ts", "./src/**/fixtures", "./src/testing/**"],
88
}

0 commit comments

Comments
 (0)