Skip to content

Commit

Permalink
updating lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdavis committed Jul 23, 2024
1 parent 7e2b2aa commit 1ce2b0d
Show file tree
Hide file tree
Showing 18 changed files with 215 additions and 31 deletions.
9 changes: 8 additions & 1 deletion apps/homepage2/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
/* eslint-disable */

module.exports = {
extends: ['custom', 'next'],
root: true,
extends: ['@repo/eslint-config-custom'],
parser: '@typescript-eslint/parser',
rules: {
'@next/next/no-html-link-for-pages': 'off',
'@next/next/no-sync-scripts': 'off',
},
env: {
browser: true,
es2021: true,
jquery: true,
commonjs: true,
node: true,
},
};
2 changes: 1 addition & 1 deletion packages/eslint-config-custom/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
extends: ['eslint:recommended', 'turbo', 'prettier'],
extends: ['eslint:recommended', 'turbo', 'prettier', 'next'],
env: {
es6: true,
},
Expand Down
3 changes: 0 additions & 3 deletions packages/jsonresume-theme-cv/.eslintrc

This file was deleted.

8 changes: 8 additions & 0 deletions packages/jsonresume-theme-cv/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* eslint-disable */

module.exports = {
root: true,
extends: ['@repo/eslint-config-custom'],
parser: '@typescript-eslint/parser',
rules: {},
};
3 changes: 0 additions & 3 deletions packages/jsonresume-theme-professional/.eslintrc

This file was deleted.

8 changes: 8 additions & 0 deletions packages/jsonresume-theme-professional/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* eslint-disable */

module.exports = {
root: true,
extends: ['@repo/eslint-config-custom'],
parser: '@typescript-eslint/parser',
rules: {},
};
3 changes: 0 additions & 3 deletions packages/jsonresume-theme-standard/.eslintrc

This file was deleted.

11 changes: 11 additions & 0 deletions packages/jsonresume-theme-standard/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* eslint-disable */

module.exports = {
root: true,
extends: ['@repo/eslint-config-custom'],
parser: '@typescript-eslint/parser',
rules: {
'no-redeclare': 'off',
'@next/next/no-html-link-for-pages': 'off',
},
};
3 changes: 2 additions & 1 deletion packages/jsonresume-theme-standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"main": "./src/index.js",
"license": "MIT",
"devDependencies": {
"@repo/eslint-config-custom": "workspace:^",
"@repo/eslint-config-custom": "workspace:*",
"react": "^18",

"styled-components": "^6"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/jsonresume-theme-standard/src/ui/Projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ const Projects = ({ projects }) => {
return (
<div>
<SubTitle>Projects</SubTitle>
{projects.slice(0, 1).map((w) => {
{projects.map((w) => {
return (
<div>
<div key={w.name}>
<Project>
<ProjectPosition>{w.position}</ProjectPosition>
&nbsp;-&nbsp;
Expand Down
3 changes: 0 additions & 3 deletions packages/jsonresume-theme-tailwind/.eslintrc

This file was deleted.

8 changes: 8 additions & 0 deletions packages/jsonresume-theme-tailwind/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* eslint-disable */

module.exports = {
root: true,
extends: ['@repo/eslint-config-custom'],
parser: '@typescript-eslint/parser',
rules: {},
};
9 changes: 4 additions & 5 deletions packages/ui/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/** @type {import("eslint").Linter.Config} */
/* eslint-disable */

module.exports = {
root: true,
extends: ['@repo/eslint-config/react-internal.js'],
extends: ['@repo/eslint-config-custom'],
parser: '@typescript-eslint/parser',
rules: {
'no-redeclare': 'off',
},
rules: {},
};
150 changes: 147 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions themes/papirus/.eslintrc

This file was deleted.

8 changes: 8 additions & 0 deletions themes/papirus/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* eslint-disable */

module.exports = {
root: true,
extends: ['@repo/eslint-config-custom'],
parser: '@typescript-eslint/parser',
rules: {},
};
3 changes: 0 additions & 3 deletions themes/stackoverflow/.eslintrc

This file was deleted.

8 changes: 8 additions & 0 deletions themes/stackoverflow/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* eslint-disable */

module.exports = {
root: true,
extends: ['@repo/eslint-config-custom'],
parser: '@typescript-eslint/parser',
rules: {},
};

0 comments on commit 1ce2b0d

Please sign in to comment.