JSPM

eslint-plugin-ascii

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2334
  • Score
    100M100P100Q112087F
  • License MIT

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

Package Exports

  • eslint-plugin-ascii
  • eslint-plugin-ascii/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-ascii) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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