UNPKG

@luoxiao123/eslint-config

Version:

ESLint Shareable Configuration for Typescrpt

312 lines (129 loc) 10.8 kB
# Changelog All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. ## [5.2.0](https://github.com/waitingsong/eslint-config/compare/v5.1.0...v5.2.0) (2020-06-07) ### Features * **recommended:** set rules off ([fc50cca](https://github.com/waitingsong/eslint-config/commit/fc50cca6fdfebc71da4480811fc93e729e78a407)) ## [5.1.0](https://github.com/waitingsong/eslint-config/compare/v5.0.1...v5.1.0) (2020-05-23) ### Features * **recommended:** set deprecated off ([a827f51](https://github.com/waitingsong/eslint-config/commit/a827f51ec21cefa850956984be8e003a514eb48f)) ### [5.0.1](https://github.com/waitingsong/eslint-config/compare/v5.0.0...v5.0.1) (2020-05-22) ## [5.0.0](https://github.com/waitingsong/eslint-config/compare/v4.0.0...v5.0.0) (2020-05-22) ### Features * **deps:** upgrade to eslint 7.0 ([41eb204](https://github.com/waitingsong/eslint-config/commit/41eb20480581b10d15833fbe448b3ba61c73efee)) * **plugin:** add eslint-plugin-node ([44e1414](https://github.com/waitingsong/eslint-config/commit/44e1414fe4014e44c0db74cadf1d9f8f2827dbec)) * **rules:** update ([6ee792e](https://github.com/waitingsong/eslint-config/commit/6ee792e1c2ae1912ccd215a811b16b748635b17b)) * **rules:** update ([93e897f](https://github.com/waitingsong/eslint-config/commit/93e897faa3ef6bdbcf31a0205a83a8e88e45b204)) ## [4.0.0](https://github.com/waitingsong/eslint-config/compare/v3.4.0...v4.0.0) (2020-03-28) ### Features * add rules of unicorn ([0966efd](https://github.com/waitingsong/eslint-config/commit/0966efd1fe7b0eaf691ed9e7bbbf16f980b5b1c5)) ## [3.4.0](https://github.com/waitingsong/eslint-config/compare/v3.3.0...v3.4.0) (2020-03-28) ### Features * update import/order ([7b98168](https://github.com/waitingsong/eslint-config/commit/7b9816889a19efde9027821e8d1ada8b12ebbc53)) ## [3.3.0](https://github.com/waitingsong/eslint-config/compare/v3.2.0...v3.3.0) (2020-03-25) ### Features * **recommended:** remove rule of @typescript-eslint/explicit-member-accessibilit ([0bad1f7](https://github.com/waitingsong/eslint-config/commit/0bad1f7ca59ae1f5ab4aa689f76440f703336358)) ## [3.2.0](https://github.com/waitingsong/eslint-config/compare/v3.1.0...v3.2.0) (2020-03-25) ### Features * bump parserOption.ecmaVersion to 2020 ([9ee89d9](https://github.com/waitingsong/eslint-config/commit/9ee89d9c119a996d9aa71c239ed2a4fe3183ddcf)) ## [3.1.0](https://github.com/waitingsong/eslint-config/compare/v3.0.0...v3.1.0) (2020-03-17) ### Features * **deps:** bump versions ([35bdaab](https://github.com/waitingsong/eslint-config/commit/35bdaabe9cf72f22ddfe9bb0408bd97f988bcfd5)) * **deps:** remove @typescript-eslint/eslint-plugin-tslint ([7f62f12](https://github.com/waitingsong/eslint-config/commit/7f62f12b5a3e8acf6de5dac31409b7bd77739dbb)) * add env.mocha true ([3ab1021](https://github.com/waitingsong/eslint-config/commit/3ab102171657bbafaf7c19aa487b43dce101ccb0)) ## [3.0.0](https://github.com/waitingsong/eslint-config/compare/v2.7.1...v3.0.0) (2020-02-12) ### ⚠ BREAKING CHANGES * **deps:** requires node.js v10+ ### Features * **deps:** update eslint-plugin-unicorn to v16 ([c83c4fe](https://github.com/waitingsong/eslint-config/commit/c83c4fe4a0c87b62ffccfd5580feb4658a29a4d7)) ### [2.7.1](https://github.com/waitingsong/eslint-config/compare/v2.7.0...v2.7.1) (2020-02-12) ### Bug Fixes * import/order missing internal rule ([b0eaf63](https://github.com/waitingsong/eslint-config/commit/b0eaf63437f230881261da86026e1f4914c938bb)) ## [2.7.0](https://github.com/waitingsong/eslint-config/compare/v2.6.0...v2.7.0) (2019-12-25) ### Features * **strict:** update id-length ([b917349](https://github.com/waitingsong/eslint-config/commit/b917349f634dda28568c78a625ec8ea784d74e7d)) ## [2.6.0](https://github.com/waitingsong/eslint-config/compare/v2.5.0...v2.6.0) (2019-12-12) ### Features * **strict:** disable rule @typescript-eslint/member-ordering ([0f12c67](https://github.com/waitingsong/eslint-config/commit/0f12c67cd568c9a0beaf72f5a9eecc8e0a53f837)) ## [2.5.0](https://github.com/waitingsong/eslint-config/compare/v2.4.1...v2.5.0) (2019-10-31) ### Features * **recommended:** increase max-params:max to 6 ([c737934](https://github.com/waitingsong/eslint-config/commit/c737934)) ### [2.4.1](https://github.com/waitingsong/eslint-config/compare/v2.4.0...v2.4.1) (2019-10-29) ## [2.4.0](https://github.com/waitingsong/eslint-config/compare/v2.3.0...v2.4.0) (2019-09-29) ### Features * **strict:** change no-console to error ([5a7b50b](https://github.com/waitingsong/eslint-config/commit/5a7b50b)) ## [2.3.0](https://github.com/waitingsong/eslint-config/compare/v2.2.0...v2.3.0) (2019-09-10) ### Features * **deps:** update plugins to v2.2.0 ([79735fa](https://github.com/waitingsong/eslint-config/commit/79735fa)) ## [2.2.0](https://github.com/waitingsong/eslint-config/compare/v2.1.0...v2.2.0) (2019-08-24) ### Features * **strict:** update rule id-length ([6e73df0](https://github.com/waitingsong/eslint-config/commit/6e73df0)) ## [2.1.0](https://github.com/waitingsong/eslint-config/compare/v2.0.0...v2.1.0) (2019-08-14) ### Features * **recommended:** set rule @typescript-eslint/ban-ts-ignore off ([63af57a](https://github.com/waitingsong/eslint-config/commit/63af57a)) ## [2.0.0](https://github.com/waitingsong/eslint-config/compare/v1.13.0...v2.0.0) (2019-08-14) ### ⚠ BREAKING CHANGES * Merges both no-angle-bracket-type-assertion and no-object-literal-type-assertion into one rule ### Features * **deps:** update typescript-eslint to v2.0.0 ([ba21cda](https://github.com/waitingsong/eslint-config/commit/ba21cda)) * use recommended rule consistent-type-assertions ([e830ea6](https://github.com/waitingsong/eslint-config/commit/e830ea6)) ## [1.13.0](https://github.com/waitingsong/eslint-config/compare/v1.12.0...v1.13.0) (2019-08-11) ### Features * **recommended:** set rule no-confusing-arrow off ([3d05928](https://github.com/waitingsong/eslint-config/commit/3d05928)) ## [1.12.0](https://github.com/waitingsong/eslint-config/compare/v1.11.0...v1.12.0) (2019-08-10) ### Features * update rule id-length ([524be30](https://github.com/waitingsong/eslint-config/commit/524be30)) ## [1.11.0](https://github.com/waitingsong/eslint-config/compare/v1.10.2...v1.11.0) (2019-08-08) ### Features * **recommended:** set rule arrow-body-style off ([1912dc7](https://github.com/waitingsong/eslint-config/commit/1912dc7)) ### [1.10.2](https://github.com/waitingsong/eslint-config/compare/v1.10.1...v1.10.2) (2019-08-05) ### Bug Fixes * rule style @typescript-eslint/array-type ([e9b065a](https://github.com/waitingsong/eslint-config/commit/e9b065a)) ### [1.10.1](https://github.com/waitingsong/eslint-config/compare/v1.10.0...v1.10.1) (2019-08-05) ## [1.10.0](https://github.com/waitingsong/eslint-config/compare/v1.9.0...v1.10.0) (2019-08-03) ### Features * **strict:** increase max-depth to 6 ([5486d31](https://github.com/waitingsong/eslint-config/commit/5486d31)) ## [1.9.0](https://github.com/waitingsong/eslint-config/compare/v1.8.1...v1.9.0) (2019-07-23) ### [1.8.1](https://github.com/waitingsong/eslint-config/compare/v1.8.0...v1.8.1) (2019-07-22) ### Features * **strict:** set @typescript-eslint/promise-function-async to off ([853d04e](https://github.com/waitingsong/eslint-config/commit/853d04e)) ## [1.8.0](https://github.com/waitingsong/eslint-config/compare/v1.7.0...v1.8.0) (2019-07-15) ### Features * **recommended:** change template-curly-spacing to default "never" ([b086397](https://github.com/waitingsong/eslint-config/commit/b086397)) * **recommended:** set no-restricted-globals "error" ([391ebbe](https://github.com/waitingsong/eslint-config/commit/391ebbe)) * **recommended:** update arrow-parens ([0b736c9](https://github.com/waitingsong/eslint-config/commit/0b736c9)) * **strict:** set id-length min:2 ([07a67ab](https://github.com/waitingsong/eslint-config/commit/07a67ab)) * **strict:** set no-loop-func to error ([21c1ec7](https://github.com/waitingsong/eslint-config/commit/21c1ec7)) * **strict:** set no-param-reassign to error ([a3acd8d](https://github.com/waitingsong/eslint-config/commit/a3acd8d)) ### Tests * with --fix ([2e0aab1](https://github.com/waitingsong/eslint-config/commit/2e0aab1)) ## [1.7.0](https://github.com/waitingsong/eslint-config/compare/v1.6.1...v1.7.0) (2019-07-15) ### Features * **recommended:** set rule of import/no-extraneous-dependencies off ([0d3d1c3](https://github.com/waitingsong/eslint-config/commit/0d3d1c3)) * **strict:** decrease max-len to 120 ([cab0881](https://github.com/waitingsong/eslint-config/commit/cab0881)) ### [1.6.1](https://github.com/waitingsong/eslint-config/compare/v1.6.0...v1.6.1) (2019-07-11) ### Bug Fixes * syntax error ([9098e61](https://github.com/waitingsong/eslint-config/commit/9098e61)) ## [1.6.0](https://github.com/waitingsong/eslint-config/compare/v1.5.0...v1.6.0) (2019-07-11) ### Features * **recommended:** disable rules import/exports-last, import/no-namespace ([2fd5d2f](https://github.com/waitingsong/eslint-config/commit/2fd5d2f)) * update rule import/no-extraneous-dependencies ([70857b5](https://github.com/waitingsong/eslint-config/commit/70857b5)) ## [1.5.0](https://github.com/waitingsong/eslint-config/compare/v1.4.0...v1.5.0) (2019-07-11) ### Features * **recommended:** enable @typescript-eslint/no-use-before-define ([4b089b5](https://github.com/waitingsong/eslint-config/commit/4b089b5)) ## [1.4.0](https://github.com/waitingsong/eslint-config/compare/v1.3.0...v1.4.0) (2019-07-11) ### Features * **deps:** add eslint-plugin-unicorn ([d85d8d4](https://github.com/waitingsong/eslint-config/commit/d85d8d4)) ## [1.3.0](https://github.com/waitingsong/eslint-config/compare/v1.2.0...v1.3.0) (2019-07-09) ### Features * **recommended:** disable no-object-literal-type-assertion ([85c7a9c](https://github.com/waitingsong/eslint-config/commit/85c7a9c)) ## [1.2.0](https://github.com/waitingsong/eslint-config/compare/v1.1.0...v1.2.0) (2019-07-09) ### Features * **recommended:** increase ignoreChainWithDepth to 6 ([3176754](https://github.com/waitingsong/eslint-config/commit/3176754)) ## [1.1.0](https://github.com/waitingsong/eslint-config/compare/v1.0.0...v1.1.0) (2019-07-08) ## [1.0.0](https://github.com/waitingsong/eslint-config/compare/v0.2.0...v1.0.0) (2019-07-07) ## [0.2.0](https://github.com/waitingsong/eslint-config/compare/v0.1.0...v0.2.0) (2019-07-07) ### Features * **plugins:** add eslint-plugin-import ([e372864](https://github.com/waitingsong/eslint-config/commit/e372864)) ## 0.1.0 (2019-07-06) ### Features * extends eslint recommended for js and ts ([7ebf565](https://github.com/waitingsong/eslint-config/commit/7ebf565))