73 lines
9.2 KiB
JavaScript
73 lines
9.2 KiB
JavaScript
'use strict';
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
const rules = exports.rules = {
|
|
'no-unresolved': require('./rules/no-unresolved'),
|
|
'named': require('./rules/named'),
|
|
'default': require('./rules/default'),
|
|
'namespace': require('./rules/namespace'),
|
|
'no-namespace': require('./rules/no-namespace'),
|
|
'export': require('./rules/export'),
|
|
'no-mutable-exports': require('./rules/no-mutable-exports'),
|
|
'extensions': require('./rules/extensions'),
|
|
'no-restricted-paths': require('./rules/no-restricted-paths'),
|
|
'no-internal-modules': require('./rules/no-internal-modules'),
|
|
'group-exports': require('./rules/group-exports'),
|
|
'no-relative-parent-imports': require('./rules/no-relative-parent-imports'),
|
|
|
|
'no-self-import': require('./rules/no-self-import'),
|
|
'no-cycle': require('./rules/no-cycle'),
|
|
'no-named-default': require('./rules/no-named-default'),
|
|
'no-named-as-default': require('./rules/no-named-as-default'),
|
|
'no-named-as-default-member': require('./rules/no-named-as-default-member'),
|
|
'no-anonymous-default-export': require('./rules/no-anonymous-default-export'),
|
|
'no-unused-modules': require('./rules/no-unused-modules'),
|
|
|
|
'no-commonjs': require('./rules/no-commonjs'),
|
|
'no-amd': require('./rules/no-amd'),
|
|
'no-duplicates': require('./rules/no-duplicates'),
|
|
'first': require('./rules/first'),
|
|
'max-dependencies': require('./rules/max-dependencies'),
|
|
'no-extraneous-dependencies': require('./rules/no-extraneous-dependencies'),
|
|
'no-absolute-path': require('./rules/no-absolute-path'),
|
|
'no-nodejs-modules': require('./rules/no-nodejs-modules'),
|
|
'no-webpack-loader-syntax': require('./rules/no-webpack-loader-syntax'),
|
|
'order': require('./rules/order'),
|
|
'newline-after-import': require('./rules/newline-after-import'),
|
|
'prefer-default-export': require('./rules/prefer-default-export'),
|
|
'no-default-export': require('./rules/no-default-export'),
|
|
'no-named-export': require('./rules/no-named-export'),
|
|
'no-dynamic-require': require('./rules/no-dynamic-require'),
|
|
'unambiguous': require('./rules/unambiguous'),
|
|
'no-unassigned-import': require('./rules/no-unassigned-import'),
|
|
'no-useless-path-segments': require('./rules/no-useless-path-segments'),
|
|
'dynamic-import-chunkname': require('./rules/dynamic-import-chunkname'),
|
|
|
|
// export
|
|
'exports-last': require('./rules/exports-last'),
|
|
|
|
// metadata-based
|
|
'no-deprecated': require('./rules/no-deprecated'),
|
|
|
|
// deprecated aliases to rules
|
|
'imports-first': require('./rules/imports-first')
|
|
};
|
|
|
|
const configs = exports.configs = {
|
|
'recommended': require('../config/recommended'),
|
|
|
|
'errors': require('../config/errors'),
|
|
'warnings': require('../config/warnings'),
|
|
|
|
// shhhh... work in progress "secret" rules
|
|
'stage-0': require('../config/stage-0'),
|
|
|
|
// useful stuff for folks using various environments
|
|
'react': require('../config/react'),
|
|
'react-native': require('../config/react-native'),
|
|
'electron': require('../config/electron'),
|
|
'typescript': require('../config/typescript')
|
|
};
|
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJydWxlcyIsInJlcXVpcmUiLCJjb25maWdzIl0sIm1hcHBpbmdzIjoiOzs7OztBQUFPLE1BQU1BLHdCQUFRO0FBQ25CLG1CQUFpQkMsUUFBUSx1QkFBUixDQURFO0FBRW5CLFdBQVNBLFFBQVEsZUFBUixDQUZVO0FBR25CLGFBQVdBLFFBQVEsaUJBQVIsQ0FIUTtBQUluQixlQUFhQSxRQUFRLG1CQUFSLENBSk07QUFLbkIsa0JBQWdCQSxRQUFRLHNCQUFSLENBTEc7QUFNbkIsWUFBVUEsUUFBUSxnQkFBUixDQU5TO0FBT25CLHdCQUFzQkEsUUFBUSw0QkFBUixDQVBIO0FBUW5CLGdCQUFjQSxRQUFRLG9CQUFSLENBUks7QUFTbkIseUJBQXVCQSxRQUFRLDZCQUFSLENBVEo7QUFVbkIseUJBQXVCQSxRQUFRLDZCQUFSLENBVko7Q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