@unumux/setup-linting

1.1.0 • Public • Published

@unumux/setup-linting

This is a script to automatically setup the UnumUX linting dependencies on an existing project.

Usage

  • Install by running yarn global add @unumux/setup-linting OR npm install -g @unumux/setup-linting
  • From the folder you want to setup linting on, run setup-linting

Recommended editor setup

Visual Studio Code

  • Install the following extensions (if you don't already have them):
    • ESLint
    • Prettier - Code formatter
    • Formatting toggle (optional)
  • I would recommend that you also make some changes to your VS Code preferences
    "prettier.eslintIntegration": true,
    // the following settings are optional. They will automatically format your JS when you save the file or paste code. 
    // The formatting toggle extension listed above can toggle these settings on/off as needed
    "editor.formatOnPaste": true, 
    "editor.formatOnSave": true,

Other editors

Recommendations coming soon!

Planned Features

  • Some sort of global defaults (so this doesn't have to be run on every project)
  • Scripts to lint/prettify added to package.json

Readme

Keywords

none

Package Sidebar

Install

npm i @unumux/setup-linting

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

171 kB

Total Files

7

Last publish

Collaborators

  • unumux_admin