eslint-config-incredible
Version:
38 lines (37 loc) • 1.11 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.rules = exports.plugins = exports.extends = void 0;
const plugins = ['unicorn'];
exports.plugins = plugins;
const recommended = ['plugin:unicorn/recommended'];
exports.extends = recommended;
const rules = {
'unicorn/no-unused-properties': 2,
'unicorn/no-unsafe-regex': 2,
'unicorn/prevent-abbreviations': 0,
'unicorn/no-null': 0,
'unicorn/prefer-node-protocol': 0,
'unicorn/consistent-destructuring': 0,
'unicorn/prefer-module': 0,
'unicorn/no-process-exit': 0,
// duplicates base no-process-exit
'unicorn/no-array-for-each': 0,
// not usefull in chaining, bug with return-continue
'unicorn/custom-error-definition': 0,
'unicorn/prefer-array-flat': 0,
// not working for node 10,
'unicorn/prefer-prototype-methods': 0,
'unicorn/prefer-object-from-entries': 0,
// not working for node 10,
'unicorn/prefer-export-from': 0,
'unicorn/filename-case': ['error', {
'cases': {
'camelCase': true,
'pascalCase': true
},
'ignore': ['API', 'AWS']
}]
};
exports.rules = rules;