Commit 42c647f
[eslint config] [base] [breaking] Set 'strict' to 'never'
Previously `rules/strict.js` was only used by `eslint-config-airbnb`
and not base. This change reduces the duplication, and means the rule
is now set to 'never' as opposed to the ESLint default of 'safe'.
For users that left the `sourceType` at this preset's default of
`module` this change will be a no-op, since in module-mode the
`strict` rule always behaves as though 'never' had been set.
See:
https://eslint.org/docs/rules/strict#options1 parent b96341f commit 42c647fCopy full SHA for 42c647f
File tree
Expand file treeCollapse file tree
1 file changed
+2
-3
lines changedOpen diff view settings
Filter options
- packages/eslint-config-airbnb-base
Expand file treeCollapse file tree
1 file changed
+2
-3
lines changedOpen diff view settings
Collapse file
packages/eslint-config-airbnb-base/index.js
Copy file name to clipboardExpand all lines: packages/eslint-config-airbnb-base/index.js+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
| 10 | + |
10 | 11 | |
11 | 12 | |
12 | 13 | |
13 | 14 | |
14 | 15 | |
15 | | - |
16 | | - |
17 | | - |
| 16 | + |
18 | 17 | |
0 commit comments