diff --git a/package.json b/package.json index ea4cb68..7704957 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-ramda", - "version": "3.0.1-beta.1", + "version": "3.0.0-beta.1", "description": "ESLint rules for use with Ramda", "license": "MIT", "keywords": [ diff --git a/rules/complement-simplification.js b/rules/complement-simplification.js index df8a7c2..58a7896 100644 --- a/rules/complement-simplification.js +++ b/rules/complement-simplification.js @@ -7,12 +7,8 @@ const isRamdaMethod = ast.isRamdaMethod; const getName = ast.getName; const names = { - or: 'and', - and: 'or', T: 'F', - F: 'T', - lte: 'gt', - gte: 'lt' + F: 'T' }; const create = context => ({ diff --git a/test/complement-simplification.js b/test/complement-simplification.js index 0c063e7..52207f7 100644 --- a/test/complement-simplification.js +++ b/test/complement-simplification.js @@ -31,29 +31,9 @@ ruleTester.run('complement-simplification', rule, { code: 'complement(F)', errors: [error('F', 'T')] }, - { - code: 'complement(or)', - errors: [error('or', 'and')] - }, - { - code: 'complement(and)', - errors: [error('and', 'or')] - }, { code: 'R.complement(R.T)', errors: [error('T', 'F')] - }, - { - code: 'R.complement(or)', - errors: [error('or', 'and')] - }, - { - code: 'complement(lte)', - errors: [error('lte', 'gt')] - }, - { - code: 'complement(gte)', - errors: [error('gte', 'lt')] } ] });