Giter VIP home page Giter VIP logo

eslint-plugin-nodeca's Introduction

Forums / Blogs / Groups / ...

Build Status

Live demo: https://rcopen.com

Nodeca itself is not expected for wide use. It's intended to replace old RC Design forum software and make programmer's life more comfortable.

But during development we create a lot of useful and popular packages for node.js. See organizations of @puzrin profile. Everything we do is published on github. Enjoy!

eslint-plugin-nodeca's People

Contributors

kirill89 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eslint-plugin-nodeca's Issues

Not working with SublimeLinter

SublimeLinter stops linting when I try to use the ESLint plugin Nodeca

Here's my .eslintrc:
{
"env": {
"browser": true,
"node": true
},
"plugins":["nodeca"],
"rules": {
"quotes": 0,
"no-underscore-dangle": 0,
"no-path-concat": 0,
"valid-jsdoc": 1,
"no-reserved-keys": 1,
"block-scoped-var": 1,
"no-lonely-if": 1,
"no-nested-ternary": 1,
"no-multiple-empty-lines": 1,
"space-after-keywords": [1, "always"],
"space-before-blocks": [1, "always"],
"nodeca/indent": [2, "spaces", 4]
}
}

I know it's just that plugin because it works when I comment these lines out
"plugins":["nodeca"],
"nodeca/indent": [2, "spaces", 4]

Sublime console in debug mode shows:
SublimeLinter: eslint: Grunt.config.js ['/usr/local/bin/eslint', '--format=compact', '--stdin']
SublimeLinter: eslint output:
<text>: line 16, col 48, Error - Trailing comma. (no-comma-dangle)
1 problem

But when I put those lines back in to use nodeca, the linter stops working and I get this in the console:
SublimeLinter: eslint: Grunt.config.js ['/usr/local/bin/eslint', '--format=compact', '--stdin']

I know the plugin is installed with node because I see it in my package.json and npm list.

I'm pretty new to front-end development, so any help you can give me would be appreciated!

Thanks!

Nodeca throwing error when code is definitely correct....

I have a simple gulp tasks which is throwing an error

import gulp   from 'gulp'
import msg    from 'gulp-messenger'
import run    from 'run-sequence'

msg.init({showPipeFile: false})

gulp.task('build', () => {
  run('clean:dist', 'babelify')
})

It is complaining the line where run is called is not indented with a single tab, when in fact is definitely is

8:3 warning Expected indentation of 1 tab character but found 0 indent
8:3 error Bad indentation (0 instead 1) nodeca/indent

So, to help matters, tried disabling the rules for this file but thinking this should still not throw errors

I have retyped this code several times to make sure it is accurate, still throws errors

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.