0.2.1 • Published 12 months ago

@ocupop/eslint-config v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
12 months ago

Ocupop Linter Config @ocupop/eslint-config

Installs a lint package to be used within projects.

Getting Started

Install

npm

npm install @ocupop/eslint-config@latest --save-dev

yarn

yarn add --dev @ocupop/eslint-config@latest

Project Setup

Add .eslintrc file within the root of your project

module.exports = {
  extends: [
    "eslint:recommended",
    "@ocupop/eslint-config",
  ],
  parserOptions: {
    ecmaVersion: 12,
    sourceType: "module",
  },
  env: {
    browser: true,
    node: true,
    es6: true,
  },
  rules: {
    // You can add additional project-specific rules here
  },
};

Developing

To Link:

  1. Run yarn link within this project
  2. Navigate to the project where you want to test the package.
  3. Link the globally symlinked package to your project by running:
yarn link @ocupop/eslint-config
  1. Update your ESLint configuration file in the test project
    • See Setup instructions

To Unlink:

  1. In your project directory, run:
yarn unlink @ocupop/eslint-config
  1. In your package directory, run:
yarn unlink

Publishing

$ npm login <login with ocupop creds>
# [ ] Make sure to push changes to git first
# [ ] Make sure to bump the version number
$ npm publish
0.1.11

1 year ago

0.1.12

1 year ago

0.1.13

1 year ago

0.2.1

12 months ago

0.2.0

12 months ago

0.1.10

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.14

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.8

2 years ago

0.0.26

2 years ago

0.1.7

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.1.9

2 years ago

0.0.29

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago