@shorties-io/eslint-config

    1.1.0 • Public • Published

    eslint-config

    This is the ESLint configuration for the shorties.io codebase(s), it is published to npmjs public registry as @shorties-io/eslint-config

    To use this, add it as a dependency of your project and then it's as simple as creating an .eslintrc file with the following contents:

    {
        "extends": "@shorties-io/eslint-config"
    }
    

    In order to use this with a CommonJS project, you should adjust the settings a bit.

    // .eslintrc.js
    "use strict";
     
    module.exports = {
      extends: ["@shorties-io/eslint-config"],
      env: {
        browser: false,
        node: true,
        worker: false
      },
      parserOptions: {
        sourceType: "script",
        ecmaFeatures: {}
      }
    };

    Keywords

    none

    Install

    npm i @shorties-io/eslint-config

    DownloadsWeekly Downloads

    1

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    13.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • hexeberlin
    • mrgnrdrck