@geolonia/eslint-config

0.0.7 • Public • Published

@geolonia/eslint-conifg

Node.js CI

Internal ESLint config for Geolonia projects.

Usage

$ yarn add eslint @geolonia/eslint-config --dev
// .eslintrc.js
module.exports = {
  exetends: ['@geolonia'],

  // add `env` if required
  env: {
    browser: true,
    node: true,
    jest: true,
  },

  parserOptions: {
    sourceType: "module", // add if "type": "module" is set in package.json
    project: ['tsconfig.json'], // add if you use TypeScript in the project
  }
}

/@geolonia/eslint-config/

    Package Sidebar

    Install

    npm i @geolonia/eslint-config

    Weekly Downloads

    9

    Version

    0.0.7

    License

    MIT

    Unpacked Size

    17.2 kB

    Total Files

    16

    Last publish

    Collaborators

    • miya0001
    • naogify
    • sleepy_keita