kopia lustrzana https://github.com/wagtail/wagtail
Eslint - fix location of storybook folder & remove eslint ignore
rodzic
acd2c535f6
commit
3697ee1f2a
10
.eslintrc.js
10
.eslintrc.js
|
@ -132,14 +132,14 @@ module.exports = {
|
|||
files: [
|
||||
'client/extract-translatable-strings.js',
|
||||
'client/tests/**',
|
||||
'webpack.config.js',
|
||||
'tailwind.config.js',
|
||||
'storybook/**/*',
|
||||
'*.test.ts',
|
||||
'*.test.tsx',
|
||||
'*.test.js',
|
||||
'webpack.config.js',
|
||||
'*.stories.js',
|
||||
'*.stories.tsx',
|
||||
'*.test.js',
|
||||
'*.test.ts',
|
||||
'*.test.tsx',
|
||||
'**/storybook/**',
|
||||
],
|
||||
rules: {
|
||||
'@typescript-eslint/no-empty-function': 'off',
|
||||
|
|
|
@ -50,6 +50,7 @@ Changelog
|
|||
* Maintenance: Update `PreviewController` usage to leverage Stimulus actions instead of calling `preventDefault` manually (Ayaan Qadri)
|
||||
* Maintenance: Various performance optimizations to page publishing (Jake Howard)
|
||||
* Maintenance: Remove unnecessary DOM canvas.toBlob polyfill (LB (Ben) Johnston)
|
||||
* Maintenance: Ensure Storybook core files are correctly running through Eslint (LB (Ben) Johnston)
|
||||
|
||||
|
||||
6.3.1 (19.11.2024)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/* eslint-disable @typescript-eslint/no-var-requires, import/no-extraneous-dependencies */
|
||||
const middleware = require('storybook-django/src/middleware');
|
||||
|
||||
// Target the Django server with IPV4 address explicitly to avoid DNS resolution of localhost to IPV6.
|
||||
|
|
|
@ -69,6 +69,7 @@ depth: 1
|
|||
* Update `PreviewController` usage to leverage Stimulus actions instead of calling `preventDefault` manually (Ayaan Qadri)
|
||||
* Various performance optimizations to page publishing (Jake Howard)
|
||||
* Remove unnecessary DOM canvas.toBlob polyfill (LB (Ben) Johnston)
|
||||
* Ensure Storybook core files are correctly running through Eslint (LB (Ben) Johnston)
|
||||
|
||||
|
||||
## Upgrade considerations - changes affecting all projects
|
||||
|
|
Ładowanie…
Reference in New Issue