Comments (3)
Do you have an example of where we have unnecessary classes today?
Not opposed to this, just wondering where it came up?
from azure-cosmos-js.
Came up while I was making prettier and tslint play nice. Here is where it throws errors right now:
ERROR: /Users/steve/azure-cosmos-js/src/auth.ts[18, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/base.ts[10, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/common/helper.ts[5, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/common/platform.ts[4, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/common/uriFactory.ts[3, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/hash/murmurHash.ts[4, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/queryExecutionContext/headerUtils.ts[11, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/queryExecutionContext/partitionedQueryExecutionContextInfoParser.ts[18, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/queryMetrics/queryMetricsUtils.ts[4, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/request/request.ts[143, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/retry/retryUtility.ts[22, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/routing/CollectionRoutingMapFactory.ts[6, 8]: Every member of this class is static. Use namespaces or plain objects instead.
ERROR: /Users/steve/azure-cosmos-js/src/test/common/TestHelpers.ts[9, 8]: Every member of this class is static. Use namespaces or plain objects instead.
from azure-cosmos-js.
Completed in #211
from azure-cosmos-js.
Related Issues (20)
- CosmosClientOptions.connectionPolicy: Nested object retryOptions replaced instead of merged HOT 5
- using dependency that implements "async" HOT 1
- Getting self signed certificate error with local cosmos db emulator HOT 2
- No option to read change feed for a partition key range HOT 1
- Improve out of the box emulator experience HOT 1
- Why retry for error 429 HOT 2
- Additional context/debug information for required retry attempts HOT 2
- Thrown errors in StoredProcedures not reflected in Client HOT 3
- Cannot find name 'AbortSignal' HOT 7
- Backport Cross Partition Query Metrics to v2 HOT 1
- Retry on EPIPE HOT 2
- Sample: Using continuation tokens with stored procs HOT 1
- Await Initial Endpoint Discovery Call
- Backport Retry on EPIPE error to v2 HOT 2
- Type Error for ORDER BY queries where order value is null HOT 1
- Unexpected requestTimeout behavior HOT 3
- Is there a way to set a query timeout? HOT 4
- Support AbortSignal on query operations HOT 1
- Cosmos JS repo is moving HOT 5
- This repo is missing important files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-cosmos-js.