1.0.2 • Published 6 months ago

@eliasjnior/eslint-config-settings v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Installation

Install the module using one of the following commands (depending if you're using NPM or Yarn in your project):

npm install --save-dev @eliasjnior/eslint-config-settings
yarn add -D @eliasjnior/eslint-config-settings

After that you need to install the peer dependencies:

npx install-peerdeps --dev @eliasjnior/eslint-config-settings

Now you're good to go creating your .eslintrc.js file:

React Project

module.exports = {
  extends: [
    '@eliasjnior/eslint-config-settings/react',
  ],
  parserOptions: {
    project: './tsconfig.json',
  }
}

Node project

module.exports = {
  extends: [
    '@eliasjnior/eslint-config-settings/node',
  ],
  parserOptions: {
    project: './tsconfig.json',
  }
}

Source code

Testing out

Run the NPM link inside this project to link the project:

npm link

Run the other command inside the project:

npm link @eliasjnior/eslint-config-settings
1.0.2

6 months ago

1.0.1

7 months ago

1.0.0

7 months ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

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.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago