Skip to content

Commit

Permalink
fix: Change prettier to error, and added eol to be LF
Browse files Browse the repository at this point in the history
Signed-off-by: Antonette Caldwell <acald.nebula@gmail.com>
  • Loading branch information
nebula-aac committed Sep 25, 2023
1 parent a2cb921 commit 9da9867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
'plugin:cypress/recommended',
'next',
'plugin:prettier/recommended',
],
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
Expand Down Expand Up @@ -55,6 +55,6 @@ module.exports = {
},
],
'react/prop-types': 'off',
'prettier/prettier': 'warn',
'prettier/prettier': ['error', { endOfLine: 'lf' }],
},
};
1 change: 1 addition & 0 deletions ui/.prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ tabWidth: 2
trailingComma: all
printWidth: 100
useTabs: false
endOfLine: 'lf'

0 comments on commit 9da9867

Please sign in to comment.