Skip to content

Commit

Permalink
Forbid TypeScript interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks committed Nov 29, 2021
1 parent b78bd03 commit 0030943
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/typescript/rules-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/ban-types": "error",
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/default-param-last": "error",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-array-constructor": "error",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
// Our rules
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/consistent-type-assertions': 'error',
'@typescript-eslint/consistent-type-definitions': 'error',
'@typescript-eslint/consistent-type-definitions': ['error', 'type'],
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-namespace': [
Expand Down

0 comments on commit 0030943

Please sign in to comment.