Re-enble dt-header lint rule.

This commit is contained in:
Ryo Kawaguchi
2018-02-24 17:06:08 +09:00
parent 5d912ee085
commit dfde552d04
4 changed files with 7 additions and 12 deletions
+3 -4
View File
@@ -1,4 +1,4 @@
// Type definitions for material-ui v0.20.1
// Type definitions for material-ui 0.21
// Project: https://github.com/callemall/material-ui
// Definitions by: Nathan Brown <https://github.com/ngbrown>
// Igor Beagorudsky <https://github.com/theigor>
@@ -519,7 +519,7 @@ declare namespace __MaterialUI {
>(component: TComponent) => TComponent;
export interface MuiThemeProviderProps {
muiTheme?: Styles.MuiTheme;
muiTheme?: MuiTheme;
}
export class MuiThemeProvider extends React.Component<MuiThemeProviderProps> {
}
@@ -1864,8 +1864,7 @@ declare namespace __MaterialUI {
value?: any;
disabled?: boolean;
}
export class Tab extends React.Component<
TabProps, {}> {
export class Tab extends React.Component<TabProps> {
}
}
+1 -1
View File
@@ -4745,7 +4745,7 @@ class DropDownMenuOpenImmediateExample extends Component<{}, {value?: number}> {
}
}
const DropDownMenuAnchorExample: React.SFC<{}> = () => (
const DropDownMenuAnchorExample: React.SFC = () => (
<DropDownMenu
value={1}
targetOrigin={{ horizontal: 'middle', vertical: 'top' }}
+1 -1
View File
@@ -24,4 +24,4 @@
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true
}
}
}
+2 -6
View File
@@ -3,15 +3,11 @@
"rules": {
// TODOs
"ban-types": false,
"dt-header": false,
"no-any-union": false,
"no-declare-current-package": false,
"no-duplicate-imports": false,
"no-empty-interface": false,
"no-mergeable-namespace": false,
"no-unnecessary-qualifier": false,
"no-unnecessary-type-assertion": false,
"strict-export-declare-modifiers": false,
"use-default-type-parameter": false
"strict-export-declare-modifiers": false
}
}
}