mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 19:33:11 +02:00
Make any typing linting opt-out instead of opt-in (#6542)
# Description of Changes Reconfigure linting of `any` type to an opt-out instead of an opt-in strategy now that we're close enough to everything supporting it. Also slightly expands the scope of things included in the linting.
This commit is contained in:
@@ -143,15 +143,20 @@ export default defineConfig(
|
||||
],
|
||||
},
|
||||
},
|
||||
// Folders that have been cleaned up and are now conformant - stricter rules enforced here
|
||||
// Stricter rules that not all sub-folders are conformant to yet
|
||||
{
|
||||
files: [
|
||||
"editor/src/desktop/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/proprietary/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/saas/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/prototypes/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"portal/src/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"shared/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
files: srcGlobs,
|
||||
ignores: [
|
||||
"editor/src/core/components/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/core/contexts/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/core/data/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/core/hooks/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/core/pages/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/core/services/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/core/tests/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/core/tools/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/core/types/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
"editor/src/core/utils/**/*.{js,mjs,jsx,ts,tsx}",
|
||||
],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
|
||||
Reference in New Issue
Block a user