2b5826d417
Install globals explicitly
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
a919275c24
Allow passing async function to JSX attributes
...
The new default seems to be a bit too strict.
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
d902ec446c
Update eslint-plugin-import
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
d1b691f69c
Update eslint-plugin-jsx-a11y
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
d2d12e30ec
Update eslint-plugin-no-only-tests
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
bd66929731
Update eslint-config-prettier
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
84ef2f1427
Update eslint-config-airbnb-typescript
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
80d5d35e25
Update eslint-plugin-react and eslint-plugin-react-hooks
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
45b473a53f
Update @typescript-eslint/parser and @typescript-eslint/eslint-plugin
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
ba90249cc2
Update @babel/eslint-parser and lint-staged (needed for update of the former one)
...
[MAILPOET-5015]
2023-03-27 15:24:38 +02:00
afbaac8439
Update ESLint
...
[MAILPOET-5061]
2023-03-27 15:24:38 +02:00
0cb684151f
Use JS ESLint configs instead of JSON
...
This is to avoid ERR_IMPORT_ASSERTION_TYPE_MISSING on recent Node.js with updated ESLint.
Fixes errors like the following: ".eslintrc.es6.json" needs an import assertion of type "json"
[MAILPOET-5061]
2023-03-27 15:24:38 +02:00
900a03756f
Use (S)CSS setup from @worpress/scripts
...
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
8fbe37dc4d
Add TypeScript config for @mailpoet/components
...
This handles both type checking and type declaration emitting.
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
2aaf01fe11
Add Webpack config for @mailpoet/components
...
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
093814eaa7
Add Babel config for @mailpoet/components
...
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
790f3f4974
Add @mailpoet/components package with a dummy testing component
...
[MAILPOET-5015]
2023-03-22 09:38:22 +01:00
e1e690ad14
Refactor input and button to validate key to its own components
...
This commit refactors the <input> and <button> used to validate the MSS
key to its own components. After doing this, we will be able to reuse
this components outside of the settings app. In particular, we want to
be able to use it in the welcome wizard app.
It also implements one small change to the verify button that is part of
the changes related to the welcome wizard. Now the verify button is
disabled when the MSS key <input> is empty.
[MAILPOET-4818]
2023-02-08 12:56:32 +01:00
78314944aa
Do not require default props in the premium plugin
...
This aligns the configuration with the free plugin.
[PREMIUM-215]
2023-01-26 14:12:22 +01:00
13a79d0b77
Turn off no-void eslint rule for premium (same as the free config)
...
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
67264710ed
Make eslint-config a pnpm workspace
...
[MAILPOET-4485]
2022-07-26 15:45:54 +02:00