@jobgetapp/eslint-config

1.1.0 • Public • Published

@jobgetapp/eslint-config

Project Description

The base eslint configuration used for JobGet projects. Assumption that source code is stored with the following directory structure:

  .
  ├── ...
  ├── project_folder   # Folder containing the project content
  │   ├── package.json
  │   ├── jest.config.js
  │   ├── src
  │       ├── tsconfig.json
  │       ├── .eslintrc.js
  │       └── ...
  │   ├── test
  │       ├── tsconfig.json
  │       ├── .eslintrc.js
  │       └── ...
  └── ...

Usage

# src/.eslintrc.js
# test/.eslintrc.js

require('@jobgetapp/eslint-config')

module.exports = {
  root: true,
  extends: ['@jobgetapp/eslint-config'],
  parserOptions: {
    project: './tsconfig.json',
    tsconfigRootDir: __dirname
  }
}

Dependencies (3)

Dev Dependencies (1)

Package Sidebar

Install

npm i @jobgetapp/eslint-config

Weekly Downloads

16

Version

1.1.0

License

MIT

Unpacked Size

6.64 kB

Total Files

3

Last publish

Collaborators

  • sawyerhopkins