@devshareacademy/eslint-config

0.0.19 • Public • Published

eslint-config

Shared Eslint config for my projects

Install

yarn add -DE @devshareacademy/eslint-config

Note: In order to use the package, you will need to have the peer dependencies that are listed installed in your project. You can add these dependencies by running the following command:

yarn add -D -E eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier prettier

Install Via GitHub NPM Packages

You can install this package from the GitHub NPM Package Repository. In order to do this, you must first authenticate with GitHub packages. You can read more about this process here: GitHub - Installing A GitHub Package.

yarn config set @lookio:registry https://npm.pkg.github.com/
echo "//npm.pkg.github.com/:_authToken=<github_personal_access_token>" > .npmrc
yarn add -DE @devshareacademy/eslint-config

Usage

.eslintrc

{
  "root": true,
  "extends": "@devshareacademy/eslint-config",
  "parserOptions": {
    "project": "./tsconfig.json"
  },
  "rules": {}
}

Publish New Version

# Authenticate with NPM Package Registry
npm login

# Run publish script
yarn publish:npm
yarn publish:github

Shared Configurations

Readme

Keywords

Package Sidebar

Install

npm i @devshareacademy/eslint-config

Weekly Downloads

4

Version

0.0.19

License

MIT

Unpacked Size

4.38 kB

Total Files

4

Last publish

Collaborators

  • scottwestover2006