@viclafouch/eslint-config-viclafouch 4.17.1-beta.6 → 4.17.1-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viclafouch/eslint-config-viclafouch",
3
- "version": "4.17.1-beta.6",
3
+ "version": "4.17.1-beta.8",
4
4
  "description": "ESLint and Prettier Config from Victor de la Fouchardiere",
5
5
  "main": "index.js",
6
6
  "keywords": [
package/rules/react.mjs CHANGED
@@ -41,7 +41,7 @@ export default [
41
41
 
42
42
  // DefaultProps is deprecated
43
43
  'react/require-default-props': [
44
- 'error',
44
+ 'off',
45
45
  {
46
46
  functions: 'defaultArguments'
47
47
  }
package/rules/style.mjs CHANGED
@@ -9,10 +9,6 @@ export default {
9
9
  // https://eslint.org/docs/latest/rules/camelcase
10
10
  camelcase: 'error',
11
11
 
12
- // Enforce or disallow capitalization of the first letter of a comment
13
- // https://eslint.org/docs/rules/capitalized-comments
14
- 'capitalized-comments': ['error', 'always'],
15
-
16
12
  // "red" === color is a "Yoda" condition, prefer color === "red" instead
17
13
  // https://eslint.org/docs/latest/rules/yoda
18
14
  yoda: 'error',
@@ -17,7 +17,7 @@ export default tseslint.config(
17
17
  languageOptions: {
18
18
  parserOptions: {
19
19
  projectService: {
20
- allowDefaultProject: ['*.js', '*.mjs']
20
+ allowDefaultProject: ['*.js', '*.mjs', '*.cjs']
21
21
  }
22
22
  }
23
23
  },