# eslint-plugin-only-error **Repository Path**: mirrors_davidjbradshaw/eslint-plugin-only-error ## Basic Information - **Project Name**: eslint-plugin-only-error - **Description**: Upgrade warnings to errors - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-04-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # eslint-plugin-only-error Upgrade warnings to errors ## Installation You'll first need to install [ESLint](http://eslint.org): ``` $ npm i eslint --save-dev ``` Next, install `eslint-plugin-only-error`: ``` $ npm install eslint-plugin-only-error --save-dev ``` **Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-only-error` globally. ## Usage Add `only-error` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix: ```json { "plugins": [ "only-error" ] } ``` _This plugin is based on [eslint-plugin-only-warn](https://github.com/bfanger/eslint-plugin-only-warn) by [Bob Fanger](https://github.com//bfanger)._