mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Changed func-names eslint rule to as-needed; (#4492)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
+3
-1
@@ -114,7 +114,9 @@ module.exports = {
|
|||||||
}],
|
}],
|
||||||
'comma-style': [2, 'last'], // http://eslint.org/docs/rules/comma-style
|
'comma-style': [2, 'last'], // http://eslint.org/docs/rules/comma-style
|
||||||
'eol-last': 2, // http://eslint.org/docs/rules/eol-last
|
'eol-last': 2, // http://eslint.org/docs/rules/eol-last
|
||||||
'func-names': 1, // http://eslint.org/docs/rules/func-names
|
'func-names': [
|
||||||
|
1, 'as-needed'
|
||||||
|
], // http://eslint.org/docs/rules/func-names
|
||||||
'key-spacing': [2, { // http://eslint.org/docs/rules/key-spacing
|
'key-spacing': [2, { // http://eslint.org/docs/rules/key-spacing
|
||||||
'beforeColon': false,
|
'beforeColon': false,
|
||||||
'afterColon': true
|
'afterColon': true
|
||||||
|
|||||||
Reference in New Issue
Block a user