TSLint: Allow multiline JS in JSX for CSS-in-JS
This commit is contained in:
@@ -15,6 +15,11 @@
|
|||||||
"import-spacing": false,
|
"import-spacing": false,
|
||||||
"indent": [true, "spaces", 2],
|
"indent": [true, "spaces", 2],
|
||||||
"interface-name": [true, "never-prefix"],
|
"interface-name": [true, "never-prefix"],
|
||||||
|
|
||||||
|
// Allows us to write inline `style`s. Revisit when we have a more sophisticated
|
||||||
|
// CSS-in-JS solution:
|
||||||
|
"jsx-no-multiline-js": false,
|
||||||
|
|
||||||
"linebreak-style": [true, "LF"],
|
"linebreak-style": [true, "LF"],
|
||||||
|
|
||||||
// Ignore `import`s to allow Prettier formatting:
|
// Ignore `import`s to allow Prettier formatting:
|
||||||
|
Reference in New Issue
Block a user