Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions common/build/eslint-config-fluid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @fluidframework/eslint-config-fluid Changelog

## [6.1.0](https://github.com/microsoft/FluidFramework/releases/tag/eslint-config-fluid_v6.1.0)

Update dependencies on the following packages:

- `@fluid-tools/eslint-plugin-fluid` (from 0.1.5 to 0.2.0)

Enables the following new rules as warnings (they will be promoted to errors in the next major release):

- `@fluid-internal/fluid/no-file-path-links-in-jsdoc`
- `@fluid-internal/fluid/no-markdown-links-in-jsdoc`

## [6.0.1](https://github.com/microsoft/FluidFramework/releases/tag/eslint-config-fluid_v6.0_1)

Update dependencies on the following packages:
Expand Down
17 changes: 17 additions & 0 deletions common/build/eslint-config-fluid/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Licensed under the MIT License.
*/

/**
* Base configuration from which all of our exported configs extends.
*/
module.exports = {
env: {
browser: true,
Expand Down Expand Up @@ -38,6 +41,20 @@ module.exports = {
rules: {
// Please keep entries alphabetized within a group

// #region TODO: Bump to error in next major version increment

/**
* Disallow file path based links in JSDoc/TSDoc comments.
*/
"@fluid-internal/fluid/no-file-path-links-in-jsdoc": "warn",

/**
* Disallow the use of Markdown-syntax links in JSDoc/TSDoc comments.
*/
"@fluid-internal/fluid/no-markdown-links-in-jsdoc": "warn",

// #endregion

// @typescript-eslint
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": "error",
Expand Down
4 changes: 2 additions & 2 deletions common/build/eslint-config-fluid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fluidframework/eslint-config-fluid",
"version": "6.0.1",
"version": "6.1.0",
"description": "Shareable ESLint config for the Fluid Framework",
"homepage": "https://fluidframework.com",
"repository": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"test": "echo TODO: add tests"
},
"dependencies": {
"@fluid-internal/eslint-plugin-fluid": "^0.1.5",
"@fluid-internal/eslint-plugin-fluid": "^0.2.0",
"@rushstack/eslint-patch": "~1.12.0",
"@rushstack/eslint-plugin": "~0.19.0",
"@rushstack/eslint-plugin-security": "~0.11.0",
Expand Down
108 changes: 7 additions & 101 deletions common/build/eslint-config-fluid/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions common/build/eslint-config-fluid/printed-configs/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
"@babel/semi": [
"off"
],
"@fluid-internal/fluid/no-file-path-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-markdown-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-member-release-tags": [
"error"
],
Expand Down
6 changes: 6 additions & 0 deletions common/build/eslint-config-fluid/printed-configs/minimal.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
"@babel/semi": [
"off"
],
"@fluid-internal/fluid/no-file-path-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-markdown-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-member-release-tags": [
"error"
],
Expand Down
6 changes: 6 additions & 0 deletions common/build/eslint-config-fluid/printed-configs/react.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@
"@babel/semi": [
"off"
],
"@fluid-internal/fluid/no-file-path-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-markdown-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-member-release-tags": [
"error"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
"@babel/semi": [
"off"
],
"@fluid-internal/fluid/no-file-path-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-markdown-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-member-release-tags": [
"error"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
"@eslint-community/eslint-plugin-mysticatea/no-this-in-static": [
"off"
],
"@fluid-internal/fluid/no-file-path-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-markdown-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-member-release-tags": [
"error"
],
Expand Down
6 changes: 6 additions & 0 deletions common/build/eslint-config-fluid/printed-configs/strict.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
"@babel/semi": [
"off"
],
"@fluid-internal/fluid/no-file-path-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-markdown-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-member-release-tags": [
"error"
],
Expand Down
6 changes: 6 additions & 0 deletions common/build/eslint-config-fluid/printed-configs/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
"@babel/semi": [
"off"
],
"@fluid-internal/fluid/no-file-path-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-markdown-links-in-jsdoc": [
"warn"
],
"@fluid-internal/fluid/no-member-release-tags": [
"error"
],
Expand Down
Loading