1.0.2 • Published 2 years ago

@eliasjnior/eslint-config-settings v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago