UNPKG
@fluentui/eslint-plugin
Version:
beta (1.0.0-beta.2)
canary (0.31.1-alpha.6224)
experimental (0.47.10-experimental.0)
latest (1.20.0)
patch (0.47.15)
1.20.0
1.19.0
1.18.2
1.18.1
1.18.0
1.17.9
1.17.8
1.17.7
1.17.6
1.17.5
1.17.4
1.17.3
1.17.2
1.17.1
1.17.0
1.16.0
1.15.0
1.14.0
1.13.0
1.12.8
1.12.7
1.12.6
1.12.5
1.12.4
1.12.3
1.12.2
1.12.1
1.12.0
1.11.1
1.11.0
1.10.0
1.9.1
1.9.0
1.8.0
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.2
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0-beta.2
1.0.0-beta.1
1.0.0-beta.0
0.54.2
0.54.1
0.54.0
0.53.4
0.53.3
0.53.2
0.53.1
0.53.0
0.52.0
0.51.0
0.50.0
0.49.0
0.48.0
0.47.15
0.47.14
0.47.13
0.47.12
0.47.11
0.47.10
0.47.10-experimental.0
0.47.9
0.47.8
0.47.7
0.47.6
0.47.5
0.47.4
0.47.3
0.47.2
0.47.1
0.47.0
0.46.0
0.45.0
0.44.0
0.43.0
0.42.0
0.41.1
0.41.0
0.31.1-alpha.6224
ESLint configuration and custom rules for Fluent UI
github.com/microsoft/fluentui
microsoft/fluentui
@fluentui/eslint-plugin
/
src
/
rules
/
ban-context-export
/
fixtures
/
react-context-selector-pkg
/
context.ts
6 lines
(4 loc)
•
131 B
text/typescript
View Raw
1
2
3
4
5
6
import
type
{
Context
}
from
'./types'
;
export
const
createContext = <T>(
value
: T):
Context
<T> => {
return
{}
as
Context
<T>; };