@elricb/xo-config

0.1.13 • Public • Published

@elric/xo-config

Personal xo config for my projects.

Install

$ npm install --save-dev xo @elricb/xo-config

Usage

Add the below to the .xo-config.js file in your project.

module.exports = require("@elric/xo-config")();

nodejs

module.exports = require("@elric/xo-config")(["node"]);

react

npm i --save-dev eslint-config-xo-react

module.exports = require("@elric/xo-config")(["react"]);

typescript

npm i --save-dev eslint-config-xo-react

module.exports = require("@elric/xo-config")(["typescript"]);

Notes

Mixed typescript and javascript projects will throw errors like below. It's recommended to ignore js files in the .eslintignore files.

Definition for rule @typescript-eslint/naming-convention was not found.  @typescript-eslint/naming-convention

Documentation

Release Notes

View commit tag for release notes.

Readme

Keywords

none

Package Sidebar

Install

npm i @elricb/xo-config

Weekly Downloads

0

Version

0.1.13

License

MIT

Unpacked Size

9.46 kB

Total Files

3

Last publish

Collaborators

  • elricb