1.3.1 • Published 8 months ago

eslint-plugin-vietnamese v1.3.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

ESLinting to avoid inline styles

Installation

You'll first need to install ESlint

$ npm i eslint --save-dev

Next, install npm i eslint-plugin-vietnamese:

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

Usage

Add eslint-plugin-vietnamese to the plugins section of your .eslintrc configuration file:

{
  "plugins": ["vietnamese"],
  "rules": {
    "vietnamese/vietnamese-words": "error"
  }
}

Test

class Component extends React.Component {
  render() {
    <div>
      <span style={{ height: 40 }}>Tôi là người Việt Nam</span>
    </div>;
  }
}
1.3.1

8 months ago

1.3.0

8 months ago

1.2.1

1 year ago

1.2.0

2 years ago

1.0.0

2 years ago