eslint-config-dd v1.0.4
Discovery Data ESLint
ESLint NPM package for JavaScript projects
Dependencies
Install ESLint globally:
npm install -g eslint
Install
To install the package run the following command in your project directory:
npm i eslint-config-dd
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
.
Update the version of the package:
npm version <version>
Publish the new version:
npm publish