0.7.0 • Published 3 years ago

@intouchg/eslint-config v0.7.0

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

@intouchg/eslint-config

ESLint configuration for the Intouch Design System

Getting Started

This ESLint configuration is automatically included in the Intouch Design System app boilerplate @intouchg/starter.

To use in your own custom configuration, install then extend this package in your eslint config.

Install dependencies

Dependencies to lint JavaScript:

// package.json
{
    "devDependencies": {
        "@babel/eslint-parser": "7.12.1",
        "@babel/eslint-plugin": "7.11.5",
        "@intouchg/eslint-config": "latest",
        "eslint": "7.19.0",
        "eslint-plugin-react": "7.22.0",
        "eslint-plugin-react-hooks": "4.2.0",
    }
}

or

Dependencies to link JavaScript and TypeScript:

// package.json
{
    "devDependencies": {
        "@babel/eslint-parser": "7.12.1",
        "@babel/eslint-plugin": "7.11.5",
        "@intouchg/eslint-config": "latest",
        "@typescript-eslint/eslint-plugin": "4.14.2",
        "@typescript-eslint/parser": "4.14.2",
        "eslint": "7.19.0",
        "eslint-plugin-react": "7.22.0",
        "eslint-plugin-react-hooks": "4.2.0",
        "typescript": "4.1.3"
    }
}

Configure eslint

// .eslintrc
{
    "extends": [
        "@intouchg/eslint-config"
    ]
}

or

// .eslintrc.js
module.exports = {
    extends: [ require.resolve('@intouchg/eslint-config') ],
}
0.0.18

3 years ago

0.2.5

3 years ago

0.7.0

4 years ago

0.6.2

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.1

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago