eslint-plugin-ascii

2.0.0 • Public • Published

eslint-plugin-ascii

ESLint plugin to detect non-ascii characters in JavaScript source code.

Build Status

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-ascii:

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

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

Usage

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

{
    "plugins": [
        "ascii"
    ]
}

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

{
    "rules": {
        "ascii/valid-name": 2
    }
}

NPM

Package Sidebar

Install

npm i eslint-plugin-ascii

Weekly Downloads

2,703

Version

2.0.0

License

MIT

Unpacked Size

7.13 kB

Total Files

13

Last publish

Collaborators

  • jsus1