This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@eleven-labs/eslint-config-typescript

1.2.0 • Public • Published

💅 eslint-config-typescript

Shared ESLint configuration for TypeScript project

Integrate into new project

Install this package with NPM:

npm install --save-dev @eleven-labs/eslint-config-typescript eslint prettier typescript

Install this package with Yarn:

yarn add -D @eleven-labs/eslint-config-typescript eslint prettier typescript

Use ESLint config in your project

Create a .eslintrc file in project root with the following content:

{
  "extends": "@eleven-labs/eslint-config-typescript",
  "rules": {
    // Additional, per-project rules...
  }
}

Add .prettierrc to project:

{
  "singleQuote": true,
  "jsxSingleQuote": false,
  "semi": true,
  "tabWidth": 2,
  "bracketSpacing": true,
  "jsxBracketSameLine": false,
  "arrowParens": "always",
  "trailingComma": "es5",
  "printWidth": 120
}

And add .editorconfig to project:

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

Readme

Keywords

Package Sidebar

Install

npm i @eleven-labs/eslint-config-typescript

Weekly Downloads

60

Version

1.2.0

License

MIT

Unpacked Size

4.52 kB

Total Files

3

Last publish

Collaborators

  • fpasquet