63 lines
No EOL
7.4 KiB
JavaScript
63 lines
No EOL
7.4 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'),
|
|
|
|
'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-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-dynamic-require': require('./rules/no-dynamic-require'),
|
|
'unambiguous': require('./rules/unambiguous'),
|
|
'no-unassigned-import': require('./rules/no-unassigned-import'),
|
|
|
|
// 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')
|
|
};
|
|
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbInJ1bGVzIiwicmVxdWlyZSIsImNvbmZpZ3MiXSwibWFwcGluZ3MiOiI7Ozs7O0FBQU8sTUFBTUEsd0JBQVE7QUFDbkIsbUJBQWlCQyxRQUFRLHVCQUFSLENBREU7QUFFbkIsV0FBU0EsUUFBUSxlQUFSLENBRlU7QUFHbkIsYUFBV0EsUUFBUSxpQkFBUixDQUhRO0FBSW5CLGVBQWFBLFFBQVEsbUJBQVIsQ0FKTTtBQUtuQixrQkFBZ0JBLFFBQVEsc0JBQVIsQ0FMRztBQU1uQixZQUFVQSxRQUFRLGdCQUFSLENBTlM7QUFPbkIsd0JBQXNCQSxRQUFRLDRCQUFSLENBUEg7QUFRbkIsZ0JBQWNBLFFBQVEsb0JBQVIsQ0FSSztBQVNuQix5QkFBdUJBLFFBQVEsNkJBQVIsQ0FUSjtBQVVuQix5QkFBdUJBLFFBQVEsNkJBQVIsQ0FWSjs7QUFZbkIsc0JBQW9CQSxRQUFRLDBCQUFSLENBWkQ7QUFhbkIseUJBQXVCQSxRQUFRLDZCQUFSLENBYko7QUFjbkIsZ0NBQThCQSxRQUFRLG9DQUFSLENBZFg7QUFlbkIsaUNBQStCQSxRQUFRLHFDQUFSLENBZlo7O0FBaUJuQixpQkFBZUEsUUFBUSxxQkFBUixDQWpCSTtBQWtCbkIsWUFBVUEsUUFBUSxnQkFBUixDQWxCUztBQW1CbkIsbUJBQWlCQSxRQUFRLH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