Git Product home page Git Product logo

code-style's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

code-style's Issues

What is better naming, eslint or javascript?

If the subject is code style, it should be named 'javascript' (or 'es6') and if the subject is eslint config, it should be named 'eslint'. It may be a tough choise about naming, but as far as i see, there is no eslint strict dependency so if we want to add config for different linter, it would not be hard to combine it in one npm package, which could be used in both.

Pros of 'eslint' naming:

  • We can separate eslint configuration from e.g. JSHint

Pros of 'javascript' / 'es6' naming:

  • We can add our code style guide (like ruby style guide in https://github.com/bbatsov/ruby-style-guide)
  • I wish to develop 'ruby' style guides with markdown documentation, which would describe all deviatoins from bbatsov/ruby-style-guide we are forcing / allowing and refer it's content in rubocop configuration file, it would be a consistent naming in this case

[Stylelint] Separate config for styled-components

Right now, some rules are disabled or changed because of several small incompatibilities with styled-components. Since we need to use a separate config for styled-components anyways, let's split configs into two - one for regular SCSS and one for styled-components.

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.