UNPKG
@storybook/linter-config
Version:
beta (3.1.1-beta.0)
canary (4.0.0--canary.31.be405ec.0)
latest (4.0.0)
4.0.0
4.0.0--canary.31.be405ec.0
4.0.0--canary.28.e4f5108.0
4.0.0--canary.28.cb95520.0
4.0.0--canary.28.8d2c878.0
4.0.0--canary.28.86989af.0
4.0.0--canary.28.861f1a8.0
3.1.3--canary.31.be405ec.0
3.1.3--canary.28.24cc001.0
3.1.2
3.1.1
3.1.1-beta.0
3.1.0
3.1.0-beta.2
3.1.0-beta.1
3.1.0-beta.0
3.0.0
2.5.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
1.0.1
1.0.0
The config storybook uses to lint code
storybook.js.org
storybookjs/linter-config
@storybook/linter-config
/
prettier.config.js
14 lines
(13 loc)
•
217 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module.exports
=
{
printWidth:
100
,
tabWidth:
2
,
bracketSpacing:
true
,
trailingComma:
'es5'
,
singleQuote:
true
,
overrides:
[ {
files:
'*.html'
,
options:
{
parser:
'babel'
}, }, ], }
;