0.0.27 • Published 1 year ago

eslint-config-qcobjects v0.0.27

Weekly downloads
7
License
LGPL-3.0-or-later
Repository
github
Last release
1 year ago

eslint-config-qcobjects

ESLint Config for QCObjects

Install

  npm i -D eslint-config-qcobjects

NOTE: Make sure you have installed QCObjects and ESLint before you use this

To install them

  npm i --save-dev qcobjects eslint

## Settings

Create a .eslintrc.json file with this content

  {
    "extends": [
      "qcobjects"
    ]
  }

Extended settings to work with modules

Create a .eslintrc.json file with this content

{
    "extends": [
      "qcobjects"
    ],
    "ecmaFeatures": {
        "modules": true,
        "spread" : true,
        "restParams" : true
    },
    "parserOptions": {
        "sourceType": "module"
    }
  }

Include eslint in your test script in package.json

  npx eslint . --fix
{
  "scripts":{
    "test": "npx eslint . --fix"
  }
}
0.0.26

1 year ago

0.0.27

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago