eslint-plugin-only-ascii

0.0.0 • Public • Published

eslint-plugin-only-ascii

ESLint plugin to remove non-ascii characters from JavaScript source code.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-only-ascii:

$ npm install eslint-plugin-only-ascii --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-only-ascii globally.

Usage

Add only-ascii to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "only-ascii"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "only-ascii/rule-name": 2
    }
}

Supported Rules

/eslint-plugin-only-ascii/

    Package Sidebar

    Install

    npm i eslint-plugin-only-ascii

    Weekly Downloads

    481

    Version

    0.0.0

    License

    ISC

    Last publish

    Collaborators

    • aereal
    • fand
    • masawada