@justeat/stylelint-config-fozzie

    2.2.0 • Public • Published

    stylelint-config-fozzie 🐻

    npm version Build Status

    Fozzie shareable stylelint config.

    A Stylelint config used in Fozzie – Just Eat’s Component Framework

    Use it as is or as a foundation for your own config.

    To see the rules that this config uses, please read the config itself.

    Installation

    npm install @justeat/stylelint-config-fozzie --save-dev

    Usage

    If you've installed stylelint-config-fozzie locally within your project, just set your stylelint config to:

    {
      "extends": "@justeat/stylelint-config-fozzie"
    }

    The easiest way to do this is by adding the following section to your package.json:

    "stylelint"{
      "extends": "@justeat/stylelint-config-fozzie"
    }

    If you've globally installed stylelint-config-fozzie using the -g flag, then you'll need to use the absolute path to stylelint-config-fozzie in your config e.g.

    {
      "extends": "/absolute/path/to/@justeat/stylelint-config-fozzie"
    }

    Extending the config

    Simply add a "rules" key to your config, then add your overrides and additions there.

    For example, to change the indentation to tabs, turn off the number-leading-zero rule:

    {
      "extends": "@justeat/stylelint-config-fozzie",
      "rules": {
        "indentation": "tab",
        "number-leading-zero": null
      }
    }

    Documentation

    Configured Lints

    stylelint-config-fozzie is a great foundation for your own config. Here is a list of the rules turned on in this config, and what they do:

    Changelog

    License

    Install

    npm i @justeat/stylelint-config-fozzie

    DownloadsWeekly Downloads

    302

    Version

    2.2.0

    License

    Apache-2.0

    Unpacked Size

    24.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • carlos.ortega
    • justeatui
    • gareththackeray
    • sonnyprince
    • dawidchar
    • ashleynolan
    • jonrea
    • djmelonz
    • hwallis
    • simonsje
    • kevinrodrigues
    • oleksiishevchuk
    • xander-marjoram
    • sergii.semenkiv
    • dandel10n
    • cloudcooke
    • meselgroth
    • rjimms92
    • sachazvetelman
    • tompoole
    • luke.parry
    • banksysan
    • cak8
    • sergej-popov
    • thomaswilliammcclean
    • jonpark
    • dsomok
    • benrwhite
    • robertellison
    • anfan
    • lauren.rodney
    • lzuk-je
    • zlatin.ivanov
    • adamashton
    • siggerzz
    • fayecarter
    • alixrichards
    • mwh1989
    • jnewc
    • ross_gratton_jet
    • joshuang2332
    • oliversweb
    • andymayje
    • pakedziora
    • lizzie.turney
    • charliearlie
    • jamieomaguire
    • anastasiya.t
    • adammorr
    • jonkers
    • juan.amor
    • dan-mcguckin
    • lsphillips