Code Monkey home page Code Monkey logo

Comments (3)

tarlepp avatar tarlepp commented on August 21, 2024

This is something that requires more investigation. Basically the reason why I've added those to each files is just to tell different IDEs to take better look of that code. Also this is something that I have done years now, so part of this is just my old habits. The problem is to "support" multiple IDEs so that each one acts same and basically this 'use strict' is the common solution for this.

I'm not sure if this can be done via some jshint / jslint configurations. Or do you have any ideas for this?

from angular-sailsjs-boilerplate.

ProLoser avatar ProLoser commented on August 21, 2024

I'm confident you can do it through a configuration, not that I rely that heavily on the IDE. Regardless, I hate the amount of clutter this imposes for something that doesn't even directly affect the code itself (since you rely upon it heavily for your own IDE, something not everyone else may care about).

Also, code that tends to be IDE specific is generally agreed upon as being something you should deal with locally and not on public consumable code. For instance, I find it annoying when people put sublime or webstorm ignores in a project when they should just be using them in their global gitignores on their work machines. To me, your reasons for doing this are the same.

from angular-sailsjs-boilerplate.

tarlepp avatar tarlepp commented on August 21, 2024

I'm not going to do anything for this.

from angular-sailsjs-boilerplate.

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.