@bmatei/eslint-config
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -0,1 +1,8 @@ | ||
## [1.0.23](https://github.com/bfmatei/eslint-config/compare/v1.0.22...v1.0.23) (2020-04-04) | ||
### Bug Fixes | ||
* Update readme ([062fd04](https://github.com/bfmatei/eslint-config/commit/062fd040437d54eb8f2422d99c1a997d4afa7199)) | ||
## [1.0.22](https://github.com/bfmatei/eslint-config/compare/v1.0.21...v1.0.22) (2020-03-31) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@bmatei/eslint-config", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"description": "Configurations for ESLint.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# ESLint Configuration | ||
This package aims at creating universal configurations for ESLint that restricts the coding standards as much as possible. It is inspired but various rules packages but compiles everything into only one, dependency-free package. | ||
## Versions | ||
- `eslint` - 6.8.0 | ||
- `eslint-config-prettier` - 6.10.1 | ||
- `prettier` - 2.0.2 | ||
- `@typescript-eslint/eslint-plugin` - 2.26.0 | ||
@@ -12,20 +9,8 @@ - `@typescript-eslint/eslint-plugin-tslint` - 2.26.0 | ||
- `codelyzer` - 5.2.2 | ||
- `eslint` - 6.8.0 | ||
- `prettier` - 2.0.2 | ||
- `tslint` - 6.1.0 | ||
## How to Update | ||
- Check changelog of each project | ||
- Check `eslint-config-prettier` | ||
- `index.js` - General rules | ||
- `@typescript-eslint.js` - TypeScript rules | ||
- Check `@typescript-eslint/eslint-plugin` | ||
- `typescript-eslint/packages/eslint-plugin/src/configs/` | ||
- `all.json` - General rules | ||
- `eslint-recommended.ts` - Rules checked by TypeScript | ||
- `recommended.json` - Recommended rules | ||
## Rules Details | ||
### Possible Errors | ||
- `getter-return` - disabled - TypeScript | ||
@@ -41,3 +26,2 @@ - `no-dupe-args` - disabled - TypeScript | ||
### Best Practices | ||
- `block-scoped-var` - disabled - `no-var` | ||
@@ -72,7 +56,5 @@ - `class-methods-use-this` - disabled since we don't want to enforce static members in classes | ||
### Strict Mode | ||
- `strict` - Strict mode is implied by default but disabled in TypeScript since we use `alwaysStrict` flag in `tsconfig.json` | ||
### Variables | ||
- `init-declarations` - disabled since we don't want to enforce variables initialization | ||
@@ -86,3 +68,2 @@ - `no-label-var` - disabled - `no-labels` | ||
### Node.js and CommonJS | ||
- `callback-return` - disabled - Node | ||
@@ -101,3 +82,2 @@ - `global-require` - disabled - Node | ||
### Stylistic Issues | ||
- `array-bracket-newline` - disabled - Prettier | ||
@@ -171,3 +151,2 @@ - `array-bracket-spacing` - disabled - Prettier | ||
### ECMAScript 6 | ||
- `arrow-body-style` - disabled - Prettier | ||
@@ -191,3 +170,2 @@ - `arrow-parens` - disabled - Prettier | ||
### TypeScript | ||
- `@typescript-eslint/brace-style` - disabled - Prettier | ||
@@ -228,1 +206,4 @@ - `@typescript-eslint/class-literal-property-style` - disabled since we don't want to enforce a particular style | ||
- `@typescript-eslint/typedef` - this should be updated accordingly | ||
## Inspired by: | ||
- [eslint-config-prettier - 6.10.1](https://github.com/prettier/eslint-config-prettier) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43389
202