@thyi/eslint-config
Advanced tools
Comparing version 1.13.4 to 1.13.5
@@ -41,18 +41,18 @@ module.exports = { | ||
], | ||
'arrow-body-style': [2, 'as-needed'], | ||
'consistent-return': 0, | ||
'func-names': [2, 'as-needed', { generators: 'never' }], | ||
'arrow-body-style': ['error', 'as-needed'], | ||
'consistent-return': 'off', | ||
'func-names': ['error', 'as-needed', { generators: 'never' }], | ||
'newline-per-chained-call': ['error', { ignoreChainWithDepth: 2 }], | ||
'no-alert': 0, | ||
'no-async-promise-executor': 2, | ||
'no-await-in-loop': 0, | ||
'no-console': 0, | ||
'no-debugger': 0, | ||
'no-empty-function': ['error',{allow: ['constructors']}], | ||
'no-multiple-empty-lines': ['error',{max: 1}], | ||
'no-plusplus': 0, | ||
'no-restricted-syntax': [2, 'ForInStatement', 'LabeledStatement', 'WithStatement'], | ||
'no-alert': 'off', | ||
'no-async-promise-executor': 'error', | ||
'no-await-in-loop': 'error', | ||
'no-console': 'off', | ||
'no-debugger': 'off', | ||
'no-empty-function': ['error',{ allow: ['constructors'] }], | ||
'no-multiple-empty-lines': ['error', { max: 1 }], | ||
'no-plusplus': 'off', | ||
'no-restricted-syntax': ['error', 'ForInStatement', 'LabeledStatement', 'WithStatement'], | ||
'no-return-assign': ['error', 'except-parens'], | ||
'no-unused-vars': [ | ||
1, | ||
'error', | ||
{ | ||
@@ -66,3 +66,3 @@ args: 'none', | ||
'no-param-reassign': [ | ||
2, | ||
'error', | ||
{ | ||
@@ -73,3 +73,3 @@ props: false, | ||
'no-shadow': [ | ||
2, | ||
'error', | ||
{ | ||
@@ -81,4 +81,4 @@ hoist: 'never', | ||
'no-useless-constructor': 'off', | ||
'no-undef': 0, | ||
'no-underscore-dangle': 0, | ||
'no-undef': 'off', | ||
'no-underscore-dangle': 'off', | ||
'no-use-before-define': [ | ||
@@ -90,3 +90,3 @@ 'error', | ||
// 'no-unused-expressions': [ | ||
// 2, | ||
// 'error', | ||
// { | ||
@@ -103,11 +103,12 @@ // 'allowTaggedTemplates': true | ||
'object-curly-newline': [ | ||
2, | ||
'error', | ||
{ | ||
multiline: true, | ||
consistent: true, | ||
minProperties: 5, | ||
ObjectExpression: 'always', | ||
ObjectPattern: { multiline: true }, | ||
ImportDeclaration: 'never', | ||
ExportDeclaration: { multiline: true, minProperties: 3 }, | ||
}, | ||
], | ||
quotes: [ | ||
2, | ||
'error', | ||
'single', | ||
@@ -119,3 +120,3 @@ { | ||
], | ||
radix: 0, | ||
radix: ["error", "as-needed"], | ||
'sort-imports': [ | ||
@@ -148,25 +149,11 @@ 'error', | ||
], | ||
'babel/camelcase': 1, | ||
'babel/camelcase': 'error', | ||
// 'babel/new-cap': 1, | ||
'babel/no-invalid-this': 1, | ||
'babel/object-curly-spacing': 0, | ||
'babel/semi': 0, | ||
'babel/valid-typeof': 0, | ||
// 'babel/no-unused-expressions': [ | ||
// 1, | ||
// { | ||
// allowTaggedTemplates: true, | ||
// }, | ||
// ], | ||
// 'babel/quotes': [ | ||
// 2, | ||
// 'single', | ||
// { | ||
// avoidEscape: true, | ||
// allowTemplateLiterals: true, | ||
// }, | ||
// ], | ||
'import/prefer-default-export': 0, | ||
import: 0, | ||
'import/extensions': 0, | ||
'babel/no-invalid-this': 'error', | ||
'babel/object-curly-spacing': 'off', | ||
'babel/semi': 'off', | ||
'babel/valid-typeof': 'off', | ||
'import/prefer-default-export': 'off', | ||
import: 'off', | ||
'import/extensions': 'off', | ||
'import/no-extraneous-dependencies': [ | ||
@@ -173,0 +160,0 @@ 'error', |
### [1.13.4](https://github.com/theodrosyimer/eslint-config/compare/1.13.3...1.13.4) (2023-04-30) | ||
### [1.13.5](https://github.com/theodrosyimer/eslint-config/compare/1.13.4...1.13.5) (2023-05-01) | ||
### Bug Fixes | ||
* remove ts rule from js rule ([f83be90](https://github.com/theodrosyimer/eslint-config/commit/f83be9080625b0db758db8564a9039f07c7b0ea5)) | ||
### Changelog | ||
@@ -16,4 +11,11 @@ | ||
#### [1.13.5](https://github.com/theodrosyimer/eslint-config/compare/1.13.4...1.13.5) | ||
- refactor: use the more explicit words than 0, 1, 2 [`21ad8e5`](https://github.com/theodrosyimer/eslint-config/commit/21ad8e5cacc6cf9a2b14d2528bf1fcb2b0080340) | ||
#### [1.13.4](https://github.com/theodrosyimer/eslint-config/compare/1.13.3...1.13.4) | ||
> 30 April 2023 | ||
- chore(release): release v1.13.4 [`b5bfd0c`](https://github.com/theodrosyimer/eslint-config/commit/b5bfd0c0c4930ffa449df83de12e32be880a2161) | ||
- fix: remove ts rule from js rule [`f83be90`](https://github.com/theodrosyimer/eslint-config/commit/f83be9080625b0db758db8564a9039f07c7b0ea5) | ||
@@ -20,0 +22,0 @@ |
{ | ||
"name": "@thyi/eslint-config", | ||
"version": "1.13.4", | ||
"version": "1.13.5", | ||
"description": "ESLint and Prettier Config for JavaScript and Typescript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
31299
427