From 31eb5143b0fab7befe86ca8c016fb7ea1b401c08 Mon Sep 17 00:00:00 2001 From: Kevin Hoerr Date: Mon, 28 Nov 2022 21:46:31 -0500 Subject: Update build with changes (#27) * Update filetype * Update timestamp of app before build * Fix version specification for step * Fix BlockLink typing * Update with my actual role --- .eslintrc.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .eslintrc.json (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..a2f2202 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,31 @@ +{ + "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" + } + }, + "env": { + "browser": true, + "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" + } +} -- cgit