mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
MDL-59761 eslint: Upgrade to v4.4.1
Including adding some new default rules.
This commit is contained in:
parent
b3cfb01316
commit
9702503f6b
@ -16,6 +16,7 @@
|
||||
|
||||
// === Possible Errors ===
|
||||
'comma-dangle': 'off',
|
||||
'no-compare-neg-zero': 'error',
|
||||
'no-cond-assign': 'error',
|
||||
'no-console': 'error',
|
||||
'no-constant-condition': 'error',
|
||||
@ -106,6 +107,7 @@
|
||||
'block-spacing': 'warn',
|
||||
'brace-style': ['warn', '1tbs'],
|
||||
'camelcase': 'warn',
|
||||
'capitalized-comments': ['warn', 'always', { 'ignoreConsecutiveComments': true }],
|
||||
'comma-spacing': ['warn', { 'before': false, 'after': true }],
|
||||
'comma-style': ['warn', 'last'],
|
||||
'computed-property-spacing': 'error',
|
||||
|
942
npm-shrinkwrap.json
generated
942
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,14 +4,14 @@
|
||||
"description": "Moodle",
|
||||
"devDependencies": {
|
||||
"async": "1.5.2",
|
||||
"eslint": "3.7.1",
|
||||
"eslint": "4.4.1",
|
||||
"eslint-plugin-promise": "3.5.0",
|
||||
"gherkin-lint": "1.1.3",
|
||||
"grunt": "1.0.1",
|
||||
"grunt-contrib-less": "1.3.0",
|
||||
"grunt-contrib-uglify": "1.0.1",
|
||||
"grunt-contrib-watch": "1.0.0",
|
||||
"grunt-eslint": "19.0.0",
|
||||
"grunt-eslint": "20.0.0",
|
||||
"grunt-stylelint": "0.6.0",
|
||||
"semver": "5.3.0",
|
||||
"shifter": "0.5.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user