@cyntler/eslint-config

0.0.4 • Public • Published

npm-version npm-download

@cyntler/eslint-config

My personal configuration for ESLint.

Installing

To install this configuration, run the command below.

npm i -D eslint @rushstack/eslint-patch @cyntler/eslint-config # npm
yarn add -D eslint @rushstack/eslint-patch @cyntler/eslint-config # Yarn

How to use?

For this configuration, the name of the ESLint configuration file should be: .eslintrc.js and saved as a .js file to be able to use require keyword.

.eslintrc.js

require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
  extends: "@cyntler/eslint-config",
  parserOptions: { tsconfigRootDir: __dirname },
};

You should also add a .eslintignore file to list all paths and files that should be avoided by ESLint.
It's a good idea to list the eslintrc.js file here, if ESLint reports any warnings or errors in this file.

.eslintignore

.eslintrc.js

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.40latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @cyntler/eslint-config

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

4.25 kB

Total Files

6

Last publish

Collaborators

  • cyntler