{"library":"eslint-plugin-ternaries","type":"library","category":null,"description":"An ESLint plugin that provides rules specifically for controlling the use of ternary expressions in JavaScript. The current stable version is 1.1.0, which adds the no-empty-ternary rule to complement the existing no-null-ternary rule. This plugin is designed for teams that want to enforce coding standards around ternaries, such as disallowing null or empty string values in ternary branches. It is a lightweight plugin with no additional dependencies besides ESLint itself.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","eslint","eslintplugin","eslint-plugin","ternary","no-null"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-plugin-ternaries","imports":["// .eslintrc: { \"plugins\": [\"ternaries\"] }","// .eslintrc: { \"rules\": { \"ternaries/no-null-ternary\": \"error\" } }","// .eslintrc: { \"rules\": { \"ternaries/no-empty-ternary\": \"warn\" } }"]},{"cmd":"yarn add eslint-plugin-ternaries","imports":[]},{"cmd":"pnpm add eslint-plugin-ternaries","imports":[]}],"homepage":null,"github":"https://github.com/divyagnan/eslint-plugin-ternaries","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-plugin-ternaries","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-plugin-ternaries/compatibility"}}