diff options
| author | Kevin Hoerr <kjhoerr@protonmail.com> | 2022-11-28 21:46:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-28 21:46:31 -0500 |
| commit | 31eb5143b0fab7befe86ca8c016fb7ea1b401c08 (patch) | |
| tree | f7e9bfecd3f811b34b961c56a444ef3700ef01c7 /.eslintrc.json | |
| parent | ffecaf6931f8b6565b567b59a881654d11f4e934 (diff) | |
| download | submelon.dev-31eb5143b0fab7befe86ca8c016fb7ea1b401c08.tar.gz submelon.dev-31eb5143b0fab7befe86ca8c016fb7ea1b401c08.tar.bz2 submelon.dev-31eb5143b0fab7befe86ca8c016fb7ea1b401c08.zip | |
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
Diffstat (limited to '.eslintrc.json')
| -rw-r--r-- | .eslintrc.json | 31 |
1 files changed, 31 insertions, 0 deletions
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" + } +} |
