mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
chore(NA): prettier end of line auto detection on linting. (#34799)
This commit is contained in:
parent
70fddc87e6
commit
83e97affa3
1 changed files with 6 additions and 1 deletions
|
@ -60,7 +60,12 @@ module.exports = {
|
|||
plugins: ['prettier'],
|
||||
rules: Object.assign(
|
||||
{
|
||||
'prettier/prettier': ['error'],
|
||||
'prettier/prettier': [
|
||||
'error',
|
||||
{
|
||||
endOfLine: 'auto',
|
||||
},
|
||||
],
|
||||
},
|
||||
require('eslint-config-prettier').rules,
|
||||
require('eslint-config-prettier/react').rules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue