fdecampredon / brackets-eslint Goto Github PK
View Code? Open in Web Editor NEWAdd [ESLint](http://eslint.org/) support to Brackets.
License: Apache License 2.0
Add [ESLint](http://eslint.org/) support to Brackets.
License: Apache License 2.0
hey there,
when i add the rule
"require-jsdoc": [1, {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": false
}
}]
to my eslintrc it says data["1"].require.ArrowFunctionExpression" has additional properties
maybe you can update the eslint version to a more recent one ?
Best,
Michael
This extension has been working great, but my project just updated to ESLint 2.8.0, and extension now crashes with this error in lint panel:
ESLint terminated with error: at Error: /Users/redmunds/dev/git.corp/sparkler-shell/js/.eslintrc: Configuration for rule "keyword-spacing" is invalid: Severity should be one of the following: 0 = off, 1 = warning, 2 = error (you passed "error"). at validateRuleOptions (/Users/redmunds/Library/Application Support/Brackets/extensions/user/fdecampredon.brackets-eslint/node_modules/eslint/lib/config/config-validator.js:102:15) at /Users/redmunds/Library/Application Support/Brackets/extensions/user/fdecampredon.brackets-eslint/node_modules/eslint/lib/config/config-validator.js:148:13 at Array.forEach (native) at Object.validate (/Users/redmunds/Library/Application Support/Brackets/extensions/user/fdecampredon.brackets-eslint/node_modules/eslint/lib/config/config-validator.js:147:35) at Object.load (/Users/redmunds/Library/Application Support/Brackets/extensions/user/fdecampredon.brackets-eslint/node_modules/eslint/lib/config/config-file.js:390:19) at loadConfig (/Users/redmunds/Library/Application Support/Brackets/extensions/user/fdecampredon.brackets-eslint/node_modules/eslint/lib/config.js:74:33) at getLocalConfig (/Users/redmunds/Library/Application Support/Brackets/extensions/user/fdecampredon.brackets-eslint/node_modules/eslint/lib/config.js:177:23) at Config.getConfig (/Users/redmunds/Library/Application Support/Brackets/extensions/user/fdecampredon.brackets-eslint/node_modules/eslint/lib/config.js:272:22) at processText (/Users/redmunds/Library/Application Support/Brackets/extensions/user/fdecampredon.brackets-eslint/node_modules/eslint/lib/cli-engine.js:203:27) at CLIEngine.executeOnText (/Users/redmunds/Library/Application Support/Brackets/extensions/user/fdecampredon.brackets-eslint/node_modules/eslint/lib/cli-engine.js:686:26)
Related line in .eslintrc file of my project is:
"keyword-spacing": ["error", {"before": true, "after": true, "overrides": {}}],
Hi,
I'm totally new to web, Js, ES6, etc...I'm trying to code some app using Koa which heavily uses ES6 generators. Code example:
app.use(function *() {
// bla bla bla
});
ESLint report this error: Unexpected token * app.use(function *() {
Excellent project.
could you add support to jsx files to listen them.
meanwhile I'm renaming the file from jsx to js for check the warning of eslint
Is there any configuration to enable the extensions in brackets.json?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.