Skip to content

Commit 28b04ec

Browse files
committed
fix(rules): update rules model objects to match current API
BREAKING CHANGE: Updated rules model objects have been significantly updated.
1 parent 011ba9a commit 28b04ec

File tree

4 files changed

+178
-159
lines changed

4 files changed

+178
-159
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ module.exports = {
8282
],
8383
'@typescript-eslint/no-var-requires': 'error',
8484
'@typescript-eslint/no-floating-promises': 'error',
85+
'@typescript-eslint/space-infix-ops': 'error',
8586

8687
// disallow non-import statements appearing before import statements
8788
'import/first': 'error',

src/endpoint/capabilities.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export interface CapabilityAlternative {
150150
*
151151
* Default: "active"
152152
*/
153-
type?: 'active'| 'inactive'
153+
type?: 'active' | 'inactive'
154154
/**
155155
* Additional description for each value. This description is shown in
156156
* the detail view or automation under this particular key.

0 commit comments

Comments
 (0)