Giter VIP home page Giter VIP logo

Comments (3)

christopheranderson avatar christopheranderson commented on May 22, 2024

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.

southpolesteve avatar southpolesteve commented on May 22, 2024

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.

southpolesteve avatar southpolesteve commented on May 22, 2024

Completed in #211

from azure-cosmos-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.