0.6.0 • Published 2 years ago

eslint-plugin-fbt v0.6.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

eslint-plugin-fbt

Installation

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

Configuration

Add "fbt" to the plugins section.

{
  "plugins": ["fbt"]
}

Enable the rules that you would like to use.

{
  "rules": {
    "fbt/no-empty-strings": "error",
    "fbt/no-unwrapped-strings": "warn"
  }
}

List of supported rules

RuleDescription
fbt/no-unwrapped-stringsEnforce strings to be wrapped with <fbt> or fbt()
fbt/no-empty-stringsPrevent empty strings from being given to <fbt> or fbt()

License

MIT

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago