aboutsummaryrefslogtreecommitdiffhomepage
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorKevin Hoerr <kjhoerr@protonmail.com>2023-12-23 23:59:02 -0500
committerGitHub <noreply@github.com>2023-12-23 23:59:02 -0500
commit3140267ea0a3b37032003992695afd7dc1f4f46c (patch)
tree8fa8dc00f62bcaaa0c5cfac3cec199c45dd5f29c /.eslintrc.json
parent23cc0d2f06958720b694660cd8c7e4125d09b231 (diff)
downloadsubmelon.dev-3140267ea0a3b37032003992695afd7dc1f4f46c.tar.gz
submelon.dev-3140267ea0a3b37032003992695afd7dc1f4f46c.tar.bz2
submelon.dev-3140267ea0a3b37032003992695afd7dc1f4f46c.zip
De gatsby (#326)
* de-gatsby * Add inversed image for dark background * eleventy * Reinstate workflows to prior state * Strip inline styling for index image * Passthrough src/public/ files * Use global data to encode build date encoded string * Clean public directory before build * Reinstall eslint, prettier * Reinstate .gitattributes for public dir * build.yml: escape config file for version numbering * Revert public changes for PR validation * Rename src/public/ to src/static/ * Include github-actions in dependabot updates * re-establish typescript * Update prevent-file-change-action to v1.5.1 * Re-add typescript to linting * Re-add typescript for eslint * Fix whitespace diff for tsconfig.json * Fix whitespace in .eslintrc.json
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json19
1 files changed, 3 insertions, 16 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index a2f2202..9189345 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -2,30 +2,17 @@
"parser": "@typescript-eslint/parser", // Specifies the ESLint parser
"extends": [
"eslint:recommended",
- "plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
- "settings": {
- "react": {
- "version": "detect"
- }
- },
+ "plugins": ["@typescript-eslint"],
"env": {
- "browser": true,
+ "browser": false,
"node": true,
"es6": true
},
- "plugins": ["@typescript-eslint", "react"],
"parserOptions": {
- "ecmaFeatures": {
- "jsx": true
- },
"ecmaVersion": 2018, // Allows for the parsing of modern ECMAScript features
"sourceType": "module" // Allows for the use of imports
- },
- "rules": {
- "react/prop-types": "off", // Disable prop-types as we use TypeScript for type checking
- "@typescript-eslint/explicit-function-return-type": "off"
}
-}
+} \ No newline at end of file