generated from anolilab/resume
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove unused scripts and upgrade dependencies and added theme …
…switch
- Loading branch information
Showing
27 changed files
with
7,430 additions
and
4,442 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/** @ts-check */ | ||
const globals = require("@anolilab/eslint-config/globals"); | ||
const { defineConfig } = require("@anolilab/eslint-config/define-config"); | ||
|
||
module.exports = defineConfig({ | ||
env: { | ||
// Your environments (which contains several predefined global variables) | ||
// Most environments are loaded automatically if our rules are added | ||
}, | ||
extends: ["@anolilab/eslint-config", "@anolilab/eslint-config/typescript-type-checking"], | ||
globals: { | ||
...globals.es2021, | ||
// Your global variables (setting to false means it's not allowed to be reassigned) | ||
// myGlobal: false | ||
}, | ||
ignorePatterns: ["!**/*"], | ||
overrides: [ | ||
{ | ||
files: ["*.ts", "*.tsx", "*.mts", "*.cts", "*.js", "*.jsx"], | ||
// Set parserOptions.project for the project to allow TypeScript to create the type-checker behind the scenes when we run linting | ||
parserOptions: {}, | ||
rules: {}, | ||
}, | ||
{ | ||
files: ["*.ts", "*.tsx", "*.mts", "*.cts"], | ||
// Set parserOptions.project for the project to allow TypeScript to create the type-checker behind the scenes when we run linting | ||
parserOptions: {}, | ||
rules: { | ||
"import/no-cycle": "off", | ||
"no-use-before-define": "off", | ||
}, | ||
settings: { | ||
tailwindcss: { | ||
config: "./tailwind.config.js", | ||
whitelist: [], | ||
}, | ||
}, | ||
}, | ||
{ | ||
files: ["*.js", "*.jsx"], | ||
rules: { | ||
"global-require": "off", | ||
}, | ||
}, | ||
{ | ||
files: ["*.mdx"], | ||
rules: { | ||
"jsx-a11y/anchor-has-content": "off", | ||
// @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/917 | ||
"jsx-a11y/heading-has-content": "off", | ||
}, | ||
}, | ||
], | ||
parserOptions: { | ||
ecmaVersion: 2021, | ||
project: "./tsconfig.json", | ||
sourceType: "module", | ||
}, | ||
root: true, | ||
rules: { | ||
// Customize your rules | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ coverage/ | |
resume.private.json | ||
|
||
dist | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"**/*.{js,jsx,tsx,ts}": [ | ||
"prettier --config=.prettierrc.cjs --write", | ||
"cross-env NO_LOGS=true eslint . --ext js,jsx,ts,tsx --max-warnings=1 --config .eslintrc.cjs --cache --cache-strategy content . --fix" | ||
"prettier --config=.prettierrc.js --write", | ||
"cross-env NO_LOGS=true eslint . --ext js,jsx,ts,tsx --max-warnings=1 --config .eslintrc.js --cache --cache-strategy content . --fix" | ||
], | ||
"*.{json,yml,yaml,less,css,scss,sass}": [ | ||
"prettier --config=.prettierrc.cjs --write" | ||
"prettier --config=.prettierrc.js --write" | ||
], | ||
"*.{md,mdx}": [ | ||
"prettier --config=.prettierrc.cjs --write" | ||
"prettier --config=.prettierrc.js --write" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
strict-peer-dependencies=false | ||
dadssa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.15.1 | ||
18.17 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
const config = require("@anolilab/prettier-config"); | ||
|
||
module.exports = { | ||
...config, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[build.environment] | ||
NODE_VERSION = "16" | ||
NODE_VERSION = "18" | ||
NPM_FLAGS="--version" | ||
|
||
[[plugins]] | ||
package = "/.netlify/netlify-plugin-pnpm" | ||
|
||
[build] | ||
command = "npx pnpm@7 install --store-dir=.pnpm --frozen-lockfile && npx pnpm@7 run download:resume && npx pnpm@7 run build && npx pnpm@7 run build:pdf" | ||
command = "npx pnpm@8 install --store-dir=.pnpm --frozen-lockfile && npx pnpm@8 run download:resume && npx pnpm@8 run build && npx pnpm@8 run build:pdf" | ||
publish = "dist" |
Oops, something went wrong.