Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | 1x | 'use strict' /** * ESLint core 'ES6' rules provide linting for new syntax features */ module.exports = { // ⓘ arrow-body-style is managed/disabled by the Prettier plugin // disallow modifying variables that are declared using const // https://eslint.org/docs/rules/no-const-assign 'no-const-assign': 'error', // disallow duplicate class members // https://eslint.org/docs/rules/no-dupe-class-members 'no-dupe-class-members': 'error', // Prefer import/no-duplicates` // https://eslint.org/docs/rules/no-duplicate-imports 'no-duplicate-imports': 'off', // disallow symbol constructor // https://eslint.org/docs/rules/no-new-symbol 'no-new-symbol': 'error', // disallow to use this/super before super() calling in constructors. // https://eslint.org/docs/rules/no-this-before-super 'no-this-before-super': 'error', // Disallow renaming destructuring assignments, imports, and exports to the same name // https://eslint.org/docs/rules/no-useless-rename 'no-useless-rename': 'error', // ⓘ prefer-arrow-callback is managed/disabled by the Prettier plugin // disallow generator functions that do not have yield // https://eslint.org/docs/rules/require-yield 'require-yield': 'error', // Require named imports are sorted alphabetically // https://eslint.org/docs/rules/sort-imports 'sort-imports': [ 'error', { ignoreCase: false, ignoreMemberSort: false, // Requires that imports are sorted by their declared variable name, disabled b/c // it's preferred to group imports by type, see `import/order` ignoreDeclarationSort: true, }, ], } |