feat: use eslint with prettier to format code
This commit is contained in:
committed by
mrugesh mohapatra
parent
be36915605
commit
fc8c71ad16
@ -148,8 +148,8 @@ exports.onCreateWebpackConfig = ({ stage, rules, plugins, actions }) => {
|
||||
/* eslint-disable max-len */
|
||||
exclude: modulePath => {
|
||||
return (
|
||||
(/node_modules/).test(modulePath) &&
|
||||
!(/(ansi-styles|chalk|strict-uri-encode|react-freecodecamp-search)/).test(
|
||||
/node_modules/.test(modulePath) &&
|
||||
!/(ansi-styles|chalk|strict-uri-encode|react-freecodecamp-search)/.test(
|
||||
modulePath
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user