https://github.com/builderhub-platform/eslint-config
Builderhub Platform Dev team ESLint configuration
https://github.com/builderhub-platform/eslint-config
eslint eslint-config npm npm-package typescript
Last synced: about 1 year ago
JSON representation
Builderhub Platform Dev team ESLint configuration
- Host: GitHub
- URL: https://github.com/builderhub-platform/eslint-config
- Owner: builderhub-platform
- License: mit
- Created: 2023-01-07T17:46:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-04T10:14:44.000Z (about 1 year ago)
- Last Synced: 2025-05-04T11:23:13.516Z (about 1 year ago)
- Topics: eslint, eslint-config, npm, npm-package, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@builderhub/eslint-config
- Size: 92.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @builderhub/eslint-config
[](https://github.com/builderhub-platform/eslint-config/actions/workflows/publish.yml)   [](https://opensource.org/licenses/MIT)
Standard ESLint configuration for Builderhub Platform Dev team projects.
Code lint with TypeScript and Prettier
## Installation
```
npm install -D @builderhub/eslint-config
```
## Usage
add `.eslintrc` and add more your rules in `rules` field.
```json
{
"extends": ["@builderhub/eslint-config"],
"rules": {}
}
```
## Configuration
```js
module.exports = {
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
],
parserOptions: {
ecmaVersion: 2018,
createDefaultProgram: true,
},
rules: {
"prettier/prettier": ["error"],
"no-console": ["off"],
"import/no-extraneous-dependencies": ["off"],
"no-return-await": ["off"],
"import/extensions": ["off"],
"import/no-unresolved": ["off"],
"class-methods-use-this": ["off"],
"no-unused-vars": ["off"],
"no-useless-escape": ["off"],
"import/prefer-default-export": ["off"],
"@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": ["warn"],
},
};
```