Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
lint file names to be lower case
Oleg Isonene8fa7a48daf0
diff --git a/.eslintrc.json b/.eslintrc.jsonindex 510077c177..1f8b5d3606 100644--- a/.eslintrc.json+++ b/.eslintrc.json@@ -18,7 +18,7 @@"ecmaVersion": "latest","sourceType": "module"},- "plugins": ["react", "@typescript-eslint"],+ "plugins": ["react", "@typescript-eslint", "filenames"],"settings": {"react": {"version": "detect"@@ -32,6 +32,7 @@{ "argsIgnorePattern": "^_" }],"react/react-in-jsx-scope": 0,- "func-style": ["error", "expression", { "allowArrowFunctions": true }]+ "func-style": ["error", "expression", { "allowArrowFunctions": true }],+ "filenames/match-regex": [2, "^[a-z-.]|($\\w+\\.)+$", true]}}diff --git a/app/designer/features/breadcrumbs/Breadcrumbs.tsx b/app/designer/features/breadcrumbs/breadcrumbs.tsxsimilarity index 100%rename from app/designer/features/breadcrumbs/Breadcrumbs.tsxrename to app/designer/features/breadcrumbs/breadcrumbs.tsxdiff --git a/app/designer/features/breadcrumbs/index.ts b/app/designer/features/breadcrumbs/index.tsindex c1874ecead..669f557577 100644--- a/app/designer/features/breadcrumbs/index.ts+++ b/app/designer/features/breadcrumbs/index.ts@@ -1 +1 @@-export * from "./Breadcrumbs";+export * from "./breadcrumbs";diff --git a/app/designer/shared/tree/index.ts b/app/designer/shared/tree/index.tsindex 264fbe15a2..8f2111195c 100644--- a/app/designer/shared/tree/index.ts+++ b/app/designer/shared/tree/index.ts@@ -1 +1 @@-export * from "./Tree";+export * from "./tree";diff --git a/app/designer/shared/tree/Tree.tsx b/app/designer/shared/tree/tree.tsxsimilarity index 100%rename from app/designer/shared/tree/Tree.tsxrename to app/designer/shared/tree/tree.tsxdiff --git a/package.json b/package.jsonindex 5bd732914d..f072020c4c 100644--- a/package.json+++ b/package.json@@ -93,6 +93,7 @@"esbuild-node-externals": "^1.4.1","esbuild-node-loader": "^0.8.0","eslint": "^8.11.0",+ "eslint-plugin-filenames": "^1.3.2","eslint-plugin-react": "^7.29.4","eslint-plugin-react-hooks": "^4.3.0","jest": "^27.5.1",diff --git a/yarn.lock b/yarn.lockindex 6a4f264427..ae566ddbcc 100644--- a/yarn.lock+++ b/yarn.lock@@ -3407,6 +3407,16 @@ escodegen@^2.0.0:optionalDependencies:source-map "~0.6.1"+eslint-plugin-filenames@^1.3.2:+ version "1.3.2"+ resolved "https://registry.yarnpkg.com/eslint-plugin-filenames/-/eslint-plugin-filenames-1.3.2.tgz#7094f00d7aefdd6999e3ac19f72cea058e590cf7"+ integrity sha512-tqxJTiEM5a0JmRCUYQmxw23vtTxrb2+a3Q2mMOPhFxvt7ZQQJmdiuMby9B/vUAuVMghyP7oET+nIf6EO6CBd/w==+ dependencies:+ lodash.camelcase "4.3.0"+ lodash.kebabcase "4.1.1"+ lodash.snakecase "4.1.1"+ lodash.upperfirst "4.3.1"+eslint-plugin-react-hooks@^4.3.0:version "4.3.0"resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.3.0.tgz#318dbf312e06fab1c835a4abef00121751ac1172"@@ -5495,6 +5505,11 @@ lodash-es@^4.17.15:resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee"integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==+ version "4.3.0"+ resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6"+ integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==+lodash.capitalize@^4.2.1:version "4.2.1"resolved "https://registry.yarnpkg.com/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz#f826c9b4e2a8511d84e3aca29db05e1a4f3b72a9"@@ -5505,6 +5520,11 @@ lodash.debounce@^4.0.8:resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168=+ version "4.1.1"+ resolved "https://registry.yarnpkg.com/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz#8489b1cb0d29ff88195cceca448ff6d6cc295c36"+ integrity sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==+lodash.memoize@^4.1.2:version "4.1.2"resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"@@ -5520,11 +5540,16 @@ lodash.noop@^3.0.1:resolved "https://registry.yarnpkg.com/lodash.noop/-/lodash.noop-3.0.1.tgz#38188f4d650a3a474258439b96ec45b32617133c"integrity sha1-OBiPTWUKOkdCWEObluxFsyYXEzw=-lodash.snakecase@^4.1.1:[email protected], lodash.snakecase@^4.1.1:version "4.1.1"resolved "https://registry.yarnpkg.com/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz#39d714a35357147837aefd64b5dcbb16becd8f8d"integrity sha1-OdcUo1NXFHg3rv1ktdy7Fr7Nj40=+ version "4.3.1"+ resolved "https://registry.yarnpkg.com/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz#1365edf431480481ef0d1c68957a5ed99d49f7ce"+ integrity sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==+lodash@^4.0.1, lodash@^4.17.15, lodash@^4.7.0:version "4.17.21"resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"