UNPKG

eslint-config-chain-able

Version:
48 lines (41 loc) 1.36 kB
'use strict'; /** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * */ module.exports = { configs: { recommended: { rules: { 'jest/no-disabled-tests': 'warn', 'jest/no-focused-tests': 'error', 'jest/no-identical-title': 'error', 'jest/valid-expect': 'error' } } }, environments: { globals: { globals: { afterAll: false, afterEach: false, beforeAll: false, beforeEach: false, describe: false, expect: false, fit: false, it: false, jasmine: false, jest: false, pit: false, require: false, test: false, xdescribe: false, xit: false, xtest: false } } }, rules: { 'no-disabled-tests': require('./rules/no-disabled-tests'), 'no-focused-tests': require('./rules/no-focused-tests'), 'no-identical-title': require('./rules/no-identical-title'), 'valid-expect': require('./rules/valid-expect') } };