|
2 | 2 | "root": true,
|
3 | 3 | "extends": [
|
4 | 4 | "plugin:@cspell/recommended",
|
| 5 | + |
| 6 | + // Display Prettier errors as ESLint errors. |
5 | 7 | // Enables eslint-plugin-prettier and eslint-config-prettier.
|
6 |
| - // This will display Prettier errors as ESLint errors. |
7 |
| - // This should always be the last configuration in the extends array. |
8 | 8 | "plugin:prettier/recommended"
|
| 9 | + |
| 10 | + //! Prettier should always be the last configuration in the extends array. |
9 | 11 | ],
|
10 | 12 | "overrides": [
|
11 | 13 | /*
|
|
25 | 27 | "plugin:@typescript-eslint/strict",
|
26 | 28 | "plugin:eslint-plugin/recommended",
|
27 | 29 | "plugin:security/recommended",
|
| 30 | + |
| 31 | + // Display Prettier errors as ESLint errors. |
28 | 32 | // Enables eslint-plugin-prettier and eslint-config-prettier.
|
29 |
| - // This will display Prettier errors as ESLint errors. |
30 |
| - // This should always be the last configuration in the extends array. |
31 | 33 | "plugin:prettier/recommended"
|
| 34 | + |
| 35 | + //! Prettier should always be the last configuration in the extends array. |
32 | 36 | ],
|
33 | 37 | "plugins": ["@typescript-eslint", "eslint-plugin"],
|
34 | 38 | "parserOptions": {
|
|
70 | 74 | "files": ["*.json"],
|
71 | 75 | "extends": [
|
72 | 76 | "plugin:json/recommended-with-comments",
|
| 77 | + |
| 78 | + // Display Prettier errors as ESLint errors. |
73 | 79 | // Enables eslint-plugin-prettier and eslint-config-prettier.
|
74 |
| - // This will display Prettier errors as ESLint errors. |
75 |
| - // This should always be the last configuration in the extends array. |
76 | 80 | "plugin:prettier/recommended"
|
| 81 | + |
| 82 | + //! Prettier should always be the last configuration in the extends array. |
77 | 83 | ]
|
78 | 84 | },
|
79 | 85 |
|
|
87 | 93 | "files": ["package.json"],
|
88 | 94 | "plugins": ["json-files"],
|
89 | 95 | "extends": [
|
| 96 | + // Display Prettier errors as ESLint errors. |
90 | 97 | // Enables eslint-plugin-prettier and eslint-config-prettier.
|
91 |
| - // This will display Prettier errors as ESLint errors. |
92 |
| - // This should always be the last configuration in the extends array. |
93 | 98 | "plugin:prettier/recommended"
|
| 99 | + |
| 100 | + //! Prettier should always be the last configuration in the extends array. |
94 | 101 | ],
|
95 | 102 | "rules": {
|
96 | 103 | "json-files/ensure-repository-directory": "error",
|
|
110 | 117 | "parser": "eslint-plugin-markdownlint/parser",
|
111 | 118 | "extends": [
|
112 | 119 | "plugin:markdownlint/recommended",
|
| 120 | + |
| 121 | + // Display Prettier errors as ESLint errors. |
113 | 122 | // Enables eslint-plugin-prettier and eslint-config-prettier.
|
114 |
| - // This will display Prettier errors as ESLint errors. |
115 |
| - // This should always be the last configuration in the extends array. |
116 | 123 | "plugin:prettier/recommended"
|
| 124 | + |
| 125 | + //! Prettier should always be the last configuration in the extends array. |
117 | 126 | ],
|
118 | 127 | "rules": {
|
119 | 128 | "markdownlint/md013": "off", // Disable line length.
|
|
0 commit comments