1.0.4 • Published 3 years ago

eslint-config-dd v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Discovery Data ESLint

ESLint NPM package for JavaScript projects

Official GITHUB repository

Official NPM page

Dependencies

  • Install ESLint globally:

    npm install -g eslint

Install

  1. To install the package run the following command in your project directory:

    npm i eslint-config-dd

  2. Create a ESLint configuration file in your root directory of your project:

    File name: .eslintrc

    {
        "extends": "dd"
    }

Use of ESLint

The ESLint package is intendent to provide a tool to improve the develompment cycle and create a unified coding style. Please DO NOT deactivate the ESLint of your files unless is strictly necessary.

Text editors

To activate the linting in your text editor please follow the guide of the text editor that you're using.

VSCode

Search and install the ESLint Extension: dbaeumer.vscode-eslint

NPM publish a new version

Make sure you have the rights to write in the GITHUB repository and to push to NPM. If you haven't set your NPM credentials locally please use the following command to login: npm login.

  1. Update the version of the package:

    npm version <version>

  2. Publish the new version:

    npm publish

Troubleshooting