You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
9.6 KiB
69 lines
9.6 KiB
'use strict';Object.defineProperty(exports, "__esModule", { value: true });var 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-packages': require('./rules/no-relative-packages'), |
|
'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'), |
|
'no-import-module-exports': require('./rules/no-import-module-exports'), |
|
|
|
// 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') }; |
|
|
|
|
|
var 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJydWxlcyIsInJlcXVpcmUiLCJjb25maWdzIl0sIm1hcHBpbmdzIjoiMkVBQU8sSUFBTUEsd0JBQVE7QUFDbkIsbUJBQWlCQyxRQUFRLHVCQUFSLENBREU7QUFFbkIsV0FBU0EsUUFBUSxlQUFSLENBRlU7QUFHbkIsYUFBV0EsUUFBUSxpQkFBUixDQUhRO0FBSW5CLGVBQWFBLFFBQVEsbUJBQVIsQ0FKTTtBQUtuQixrQkFBZ0JBLFFBQVEsc0JBQVIsQ0FMRztBQU1uQixZQUFVQSxRQUFRLGdCQUFSLENBTlM7QUFPbkIsd0JBQXNCQSxRQUFRLDRCQUFSLENBUEg7QUFRbkIsZ0JBQWNBLFFBQVEsb0JBQVIsQ0FSSztBQVNuQix5QkFBdUJBLFFBQVEsNkJBQVIsQ0FUSjtBQVVuQix5QkFBdUJBLFFBQVEs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