0.0.10 • Published 3 years ago

@ngnlx/eslint-config v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

License: MIT

Introduction

The common ESLint config makes the code clean, consistent, more readable, and understandable.

Installation

npm install @ngnlx/eslint-config
OR
yarn add @ngnlx/eslint-config

Usage

{
  "extends": ['eslint:recommended', '@ngnlx/eslint-config']
}

Add .prettierrc.js in root folder of application with configurations below:

module.exports = {
  singleQuote: true,
  printWidth: 120,
  trailingComma: 'none',
  arrowParens: 'always'
};

You can override rules by addding custom rules into rules node in .eslintrc.js/.eslintrc.json/package.json/... in your application.

Example:

rules: {
  semi: "off",
},

Execute linting the project:

VueJS app

We have already linting command:

"lint": "vue-cli-service lint"

Just run the command below to execute linting:

yarn lint
or
npm run lint

License

MIT

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.1

3 years ago