Giter Club home page Giter Club logo

Comments (5)

krnlde avatar krnlde commented on August 23, 2024

I don't know sindres config in particular, but the move to eslint is essential. It has better guideline detection in addition to the linting, which I also find better. Plus the es6 linting which we are currently not using though. I have created my eslint file, and therfore coding guideline, over the last month which I really like. Sometimes I feel pissed when another config stops me from being lean and creative just for the guideline's sake.

For example my beloved one liner shortcut: if (falsy) return; which, in most config is not allowed.

But I guess this needs some discussion and I am totally willing to take one external maintained config, as long as we are concise in the particular project.

from baumeister.

krnlde avatar krnlde commented on August 23, 2024

Sorry for the bad English :D I am being actively autocorrected by my mobile.

from baumeister.

mischah avatar mischah commented on August 23, 2024

hehe πŸ˜„

Thanks for the feedback.

My personal gist of it: You agree with using XOXO.

Cause the following isn’t a problem with XOXO:

Sometimes I feel pissed when another config stops me from being lean and creative just for the guideline's sake.

We are able to Override any of the default rules. See Readme of XOXO: https://github.com/sindresorhus/xo#rules

Here you can see the defaults:
https://github.com/sindresorhus/eslint-config-xo/blob/master/index.js

from baumeister.

mischah avatar mischah commented on August 23, 2024

@krnlde I just replaced JSHint with ESLint in the develop branch πŸ’–

But I decided against using XO as a wrapper for ESLint and only pulled in the shared config from XO directly. See package.json

In our .eslintrc you can see how easy it is to override rules from eslint-config-xo

from baumeister.

mischah avatar mischah commented on August 23, 2024

Done in develop branch. Will make it into master in the next release.

from baumeister.

Related Issues (20)

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.