Skip to content

Commit

Permalink
Merge pull request meshery#8916 from nebula-aac/fix/enhance-lint-and-…
Browse files Browse the repository at this point in the history
…formatting

fix: Change prettier to error, and added eol to be LF
  • Loading branch information
nebula-aac authored Sep 26, 2023
2 parents a2cb921 + 9da9867 commit d000064
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 d000064

Please sign in to comment.