aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.js35
-rw-r--r--.eslintrc.json33
-rw-r--r--jest.config.cjs (renamed from jest.config.js)0
3 files changed, 33 insertions, 35 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
deleted file mode 100644
index 622e66ad..00000000
--- a/.eslintrc.js
+++ /dev/null
@@ -1,35 +0,0 @@
-module.exports = {
- env: {
- browser: true,
- es2021: true,
- node: true,
- jest: true,
- jasmine: true,
- },
- extends: [
- "eslint:recommended",
- "plugin:react/recommended",
- "plugin:@typescript-eslint/recommended",
- ],
- parser: "@typescript-eslint/parser",
- parserOptions: {
- ecmaFeatures: {
- jsx: true,
- },
- ecmaVersion: 12,
- sourceType: "module",
- },
- plugins: ["react", "@typescript-eslint"],
- rules: {
- '@typescript-eslint/no-unused-vars': 'error',
- // TODO: Remove warn rules when not needed anymore
- "no-self-assign": "off",
- "@typescript-eslint/no-empty-interface": "off",
- "react/prop-types": [2, { ignore: ['children'] }]
- },
- settings: {
- react: {
- version: "detect",
- },
- },
-};
diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644
index 00000000..9744cc74
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,33 @@
+{
+ "env": {
+ "browser": true,
+ "es2021": true,
+ "node": true,
+ "jest": true
+ },
+ "extends": [
+ "eslint:recommended",
+ "plugin:react/recommended",
+ "plugin:@typescript-eslint/recommended"
+ ],
+ "parser": "@typescript-eslint/parser",
+ "parserOptions": {
+ "ecmaFeatures": {
+ "jsx": true
+ },
+ "ecmaVersion": 12,
+ "sourceType": "module"
+ },
+ "plugins": ["react", "@typescript-eslint"],
+ "rules": {
+ "@typescript-eslint/no-unused-vars": "error",
+ "no-self-assign": "off",
+ "@typescript-eslint/no-empty-interface": "off",
+ "react/prop-types": [2, { "ignore": ["children"] }]
+ },
+ "settings": {
+ "react": {
+ "version": "detect"
+ }
+ }
+}
diff --git a/jest.config.js b/jest.config.cjs
index ae5eba3f..ae5eba3f 100644
--- a/jest.config.js
+++ b/jest.config.cjs