-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESLintBear doesn't fail although it should #730
Comments
Thanks for reporting this issue! A coalaian will look at it soon. |
Can you provide the .eslintrc for this ? |
it had |
Could you provide the versions of: |
CC @oreqizer btw. ; I'll get more info tomorrow but I don't think this is version specific. |
I don't think it is versions specific either .. but I'm trying to get it installed to debug :P Seems like any version Im trying is clashing ^^ |
'tis our config: {
"parser": "babel-eslint",
"plugins": ["react", "flowtype"],
"extends": "airbnb",
"env": {
"node": true,
"browser": true
},
"rules": {
// Flow
// ---
"flowtype/define-flow-type": "error", // teaches ESlint Flow types
"no-duplicate-imports": "off", // we need to import types separately
// Kiwi style
// ---
"semi": ["error", "never"],
"indent": ["error", "tab"],
"react/jsx-indent": ["error", "tab"],
"react/jsx-indent-props": ["error", "tab"],
"max-len": ["warn", { "code": 150 }], // will get reduced eventually
"dot-notation": ["off"], // we use bracket notation for external inputs (API, url params, ...)
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"new-cap": "off", // Because Immutable.js
"no-underscore-dangle": "off", // __LOG
// Strajk & Michael don't care
"jsx-a11y/label-has-for": "off", // we put inputs into labels
"one-var": ["off"], // we like this
"one-var-declaration-per-line": ["off"], // we like this
"no-else-return": ["off"], // everybody got his own taste
"react/prop-types": ["off"],
"import/prefer-default-export": ["off"],
// known 'babel-eslint' bug
// ---
"generator-star-spacing": "off",
// Fix gradually
// ---
"no-unused-expressions": "warn",
"vars-on-top": "warn",
"no-prototype-builtins": "warn",
"no-unused-vars": "warn",
"default-case": "warn",
"radix": "warn", // Wanna use Number(…)
"func-names": "warn",
"no-mixed-operators": "warn",
// Fix automatically someday
// ---
"object-shorthand": "off", // TODO: try `consistent-as-needed`
"quotes": ["off", "double", "avoid-escape"],
"no-trailing-spaces": "off",
"no-var": "off",
"quote-props": "off",
"comma-dangle": "off",
"object-curly-spacing": "off",
"prefer-template": "off",
"prefer-const": "off",
"import/no-duplicates": "off",
"padded-blocks": "off",
"spaced-comment": "off",
"import/imports-first": "off",
"react/jsx-space-before-closing": "off",
"jsx-a11y/img-has-alt": "off",
"react/sort-comp": "off",
"react/no-find-dom-node": "off",
"react/no-string-refs": "off",
// Codemod
"react/prefer-stateless-function": "warn",
"react/prefer-es6-class": "warn",
"arrow-body-style": "off",
},
} |
In some cases, eslint fails. Because of this, the user can't see any results, nor does the user see any warning that it failed. We now show the stderr to the user as a WARNING. Fixes #730
In some cases, eslint fails. Because of this, the user can't see any results, nor does the user see any warning that it failed. We now show the stderr to the user as a WARNING. Fixes #730
In some cases, eslint fails. Because of this, the user can't see any results, nor does the user see any warning that it failed. We now show the stderr to the user as a WARNING. Fixes coala#730
when running eslint I get
but when I run it with coala with the config it doesn't fail.
type/bug
also interesting, this is exactly the command that coala runs:
The text was updated successfully, but these errors were encountered: