@v.latyshev/eslint-config

1.2.0 • Public • Published

eslint-config

Release Version

Installing

yarn add -D @v.latyshev/eslint-config eslint@^8.0.0

Then create a file named .eslintrc.js with following contents in the root folder of your project:

/**
 * @type {import('eslint').Linter.Config}
 */
module.exports = {
  extends: '@v.latyshev',
  parserOptions: {
    tsconfigRootDir: __dirname,
  },
};

// or react config

/**
 * @type {import('eslint').Linter.Config}
 */
module.exports = {
  extends: '@v.latyshev/eslint-config/react',
  parserOptions: {
    tsconfigRootDir: __dirname,
  },
};

That's it! You can override the settings from eslint-config by editing the .eslintrc.js file.

Readme

Keywords

none

Package Sidebar

Install

npm i @v.latyshev/eslint-config

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

14.5 kB

Total Files

4

Last publish

Collaborators

  • v.latyshev