Skip to content

Commit

Permalink
fix: eslint update
Browse files Browse the repository at this point in the history
  • Loading branch information
Andresdev02 committed Mar 10, 2022
1 parent f8c7f50 commit 669ca06
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 5 deletions.
15 changes: 14 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,22 @@ module.exports = {
}
],
'no-console': 'warn',
'no-empty-function': 'error',
'no-unused-vars': 'off',
'react/prop-types': 0,
'react/react-in-jsx-scope': 0,
'no-unused-vars': 'off',
'react/jsx-no-duplicate-props': 1,
'object-curly-spacing': ['error', 'always'],
'react/sort-prop-types': [
2,
{
callbacksLast: true,
ignoreCase: true,
requiredFirst: true,
sortShapeProp: true,
noSortAlphabetically: true
}
],
'unused-imports/no-unused-imports': 'error',
'unused-imports/no-unused-vars': [
'warn',
Expand Down
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
public
package-lock.json
.nyc_output
2 changes: 1 addition & 1 deletion src/components/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ export const Banner = ({

Banner.propTypes = {
title: PropTypes.string.isRequired,
description: PropTypes.string.isRequired,
titleOptions: PropTypes.object,
descriptionOptions: PropTypes.object,
description: PropTypes.string.isRequired,
image: PropTypes.string,
video: PropTypes.string,
mediaOptions: PropTypes.object,
Expand Down
3 changes: 1 addition & 2 deletions src/components/findwork/Body.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { Search } from './Search';

export const Body = () => {
const jobsDummy = [
{
title: 'Web & Product Designer',
{ title: 'Web & Product Designer',
location: 'Austin TX',
logo: 'https://cdn.dribbble.com/users/732492/avatars/normal/7bb885b4424533a2d8806b1f90f97704.png?1613640457&compress=1&resize=96x96',
post: 'The Graphic Standard',
Expand Down
3 changes: 2 additions & 1 deletion src/components/learnDesign/Banner.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react';

import {
Box,
Button,
Expand All @@ -8,7 +10,6 @@ import {
Text,
VStack,
} from '@chakra-ui/react';
import React from 'react';

const Banner = () => {
return (
Expand Down

0 comments on commit 669ca06

Please sign in to comment.