.
This commit is contained in:
parent
b01b667efd
commit
0cb1bea747
2 changed files with 3 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
> CLI for easily publishing modern React libraries with Rollup and example usage via create-react-app.
|
> CLI for easily publishing modern React libraries with Rollup and example usage via create-react-app.
|
||||||
|
|
||||||
[](https://www.npmjs.com/package/create-react-library) [](https://travis-ci.org/transitive-bullshit/create-react-library) [](https://standardjs.com)
|
[](https://www.npmjs.com/package/create-react-library) [](https://travis-ci.com/transitive-bullshit/create-react-library) [](https://standardjs.com)
|
||||||
|
|
||||||
|
|
||||||
## Intro
|
## Intro
|
||||||
|
|
|
@ -11,17 +11,13 @@
|
||||||
"react"
|
"react"
|
||||||
],
|
],
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"sourceType": "module",
|
"sourceType": "module"
|
||||||
"allowImportExportEverywhere": true
|
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
// don't force es6 functions to include space before paren
|
// don't force es6 functions to include space before paren
|
||||||
"space-before-function-paren": 0,
|
"space-before-function-paren": 0,
|
||||||
|
|
||||||
// allow specifying true explicitly for boolean props
|
// allow specifying true explicitly for boolean props
|
||||||
"react/jsx-boolean-value": 0,
|
"react/jsx-boolean-value": 0
|
||||||
|
|
||||||
// allow imports mixed with non-import statements at top of file
|
|
||||||
"import/first": 0
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue