Comments (8)
@seanmcbreen: what do we usually put into the readme. There isn't much to say.
from vscode-eslint.
I would like to know how about how to use "eslint.options"
? I am really not having much luck with getting .eslintignore files to work.
I have tried placing it in the root directory, this doesn't appear to work.
I have tried adding the .eslintignore file using "eslint.options"
:
"eslint.options": {
"ignorePath": ".eslintignore"
}
And also with an absolute path:
"eslint.options": {
"ignorePath": "/path/to/this/file/.eslintignore"
}
I have also tried adding the patterns with the "ignorePattern"
option:
"eslint.options": {
"ignorePattern": "somefile.js"
}
All without luck! All on OS X.
I am making the assumption here that this is not a bug and rather its my miss-understanding of the implementation...
from vscode-eslint.
I am without luck too. I am on Win 10 and can not find the mode to run the linter.
I have this in my config file:
"eslint.enable": true,
"javascript.validate.enable": false
whats wrong ?
from vscode-eslint.
@dbaeumer: something like
"Thanks for installing the fabulous eslinter extension. Here's how you use it:"
from vscode-eslint.
@lean: to get a decent eslint validation you need to have a .eslintrc file. You can generate one using the eslint cli and run eslint --init.
I also updated the readme to explain the option bag and to help with the getting started. See https://marketplace.visualstudio.com/items/dbaeumer.vscode-eslint
from vscode-eslint.
@dbaeumer would it make sense to provide a command that creates a default .eslintrc file?
from vscode-eslint.
@m-sanders: I create a separate issue for the ignore file since it is a bug not covered by the readme update. See #6
from vscode-eslint.
from vscode-eslint.
Related Issues (20)
- Enfore validate list
- Error output (in flat config) causes problems not to appear in the output channel HOT 2
- Add support for ESLint feature flags HOT 4
- ESLint with SafeQL crashes on Windows with error code 3221226505 HOT 5
- About eslint config,When user setting and workspace setting are conflict,how to override user settings config HOT 1
- ESLint is preventing my files from being saved HOT 7
- eslint autofix for multiple empty lines don't work HOT 1
- ESLint server only looks at first entry in `context.only` array sent along with `textDocument/codeAction` HOT 4
- Supervied Idenification Verification Profile HOT 2
- Setup ESLint with Deno runtime instead of node HOT 2
- eslint 一旦出现 error,输出日志显示 Error 时,代码编辑器爆红会消失 HOT 2
- Support for `typescript-eslint` v8's parser `projectService` HOT 12
- ConfigError: Config (unnamed): Key "plugins": This appears to be in eslintrc format (array of strings) rather than flat config format (object). HOT 4
- Support TS config files HOT 8
- Do not delay saving the file while `codeActionsOnSave` / `fixAll` is running HOT 1
- ESLint doesn't resolve paths to packages installed globally HOT 1
- Extension fails when config imports via tsx or jiti HOT 4
- ESLint affects quick fix options HOT 1
- Shows variables not defined when they are defined (no-undef rule) HOT 3
- Lint with typescript config file `eslint.config.{m,c}ts` 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 vscode-eslint.