Comments (11)
What exactly do you mean? This should be configurable in your .jshintrc file
from atom-jshint.
I meant it would be nice to have it in the plugin settings panel, where I can set it to update on save or change, etc. But I set it the way you suggest (true in the jshintrc) I still get the error Expected an assignment or function call and instead saw an expression
Also will it overwrite my settings on update?
from atom-jshint.
I'm not sure if it will overwrite your settings on update i'm afraid, that's something that atom itself deals with.
In regards to your problem with the expression error, it may be that the package is not reloading the config when you've changed the .jshintrc file, to reload atom you can press ctrl+alt+cmd+L
. If that doesn't work let me know!
Which reminds me, I need to raise an issue for that bug.
from atom-jshint.
Neither this nor restarting atom completely helped. :(
from atom-jshint.
Is your .jshintrc file in the root of the project path?
from atom-jshint.
Nope, I changed the default one in the packages. If I add one in my project it works, but I would like to set it for every project and not just for some.
from atom-jshint.
Ah okay, so a global jshintrc file. That's an interesting idea, going to rename this issue to be that. You'll have to workaround it the way you have until we do the work though i'm afraid. You might find that placing the .jshintrc file higher up the tree will solve it once the pending pull request is merged and released :)
from atom-jshint.
I'll second the request for a global settings option. I want to enable laxcomma: true
only once as I always intend to work this way.
from atom-jshint.
Now that the package tries to find a .jshintrc file higher up the tree do you think an acceptable solution to this would be 'just place a .jshintrc file in the directory you store your projects in'? Or would there be a reason to not just do that?
from atom-jshint.
I'll certainly use that technique for now. Though I usually work in a canonical "project" directory, I'm not always that organized
from atom-jshint.
It works for me.
from atom-jshint.
Related Issues (20)
- Uncaught Error: channel closed HOT 3
- Uncaught Error: channel closed
- Uncaught Error: channel closed HOT 5
- Not working HOT 3
- Uncaught TypeError: Invalid Point: (20, NaN)
- Can't parse config file
- Uncaught Error: channel closed
- Uncaught Error: channel closed HOT 2
- [Non-issue] Variable Assignment In For Loops HOT 1
- Labels break JSHint
- Installing “[email protected]” failed.
- Deprecated selector in `atom-jshint\styles\atom-jshint.less` HOT 6
- Uncaught Error: watch ~/workspace/freelancer/vid2gif/backend/.jshintrc ENOSPC
- Deprecated selector in `atom-jshint/styles/atom-jshint.less` HOT 2
- Uncaught Error: Cannot decorate a destroyed marker
- Deprecated calls on all file type
- E002 Bad Option Value
- Who would like to Fork this and continue the dev from there? HOT 7
- Uncaught Error: Channel closed
- none errors HOT 1
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 atom-jshint.