0.2.3 • Published 1 year ago

eslint-config-aprets v0.2.3

Weekly downloads
-
License
Unlicense
Repository
-
Last release
1 year ago

eslint-config-aprets

Usage

  1. Install the package
npm install -D eslint-config-aprets
  1. Create .eslintrc.js file in the root of where you want to use the config
// This is a workaround for https://github.com/eslint/eslint/issues/3458
require('eslint-config-aprets/patch/modern-name-resolution')

module.exports = {
  parserOptions: {
    project: './tsconfig.json',
    tsconfigRootDir: __dirname,
  },
  extends: ['eslint-config-aprets'],
  rules: {
	// your overrides
  },
}
  1. Potentially reload eslint or restart your editor.