Don't complain about Windows line endings (#1098)

This commit is contained in:
Stan Silvert 2021-09-01 01:55:53 -04:00 committed by GitHub
parent 44f1af21c9
commit e5b8d04270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
module.exports = {
root: true,
parserOptions: {
project: './tsconfig.json',
project: "./tsconfig.json",
},
env: {
node: true,
@ -31,7 +31,13 @@ module.exports = {
// https://github.com/yannickcr/eslint-plugin-react/issues/2777#issuecomment-814968432
"react/prop-types": "off",
// Prevent fragments from being added that have only a single child.
"react/jsx-no-useless-fragment": "error"
"react/jsx-no-useless-fragment": "error",
"prettier/prettier": [
"error",
{
endOfLine: "auto",
},
],
},
overrides: [
{