Package detail

eslint-config-teleology

teleology-io21MIT1.0.10

Code structure for teleology javascript projects

readme

eslint-config-teleology

Installation

npx install-peerdeps --dev eslint-config-teleology

Configuration

Create an .eslintrc.js file in the root of your node project. In it write the following:

module.exports = {
  extends: ['teleology'],
};

React Support

module.exports = {
  extends: ['teleology/react'],
};

Scripts

You can now add these two scripts to your package.json to run lint locally.

"scripts": {
  "lint": "eslint .",
  "lint:fix": "eslint . --fix"
}

Changelog

1.0.8

  • Added Solid-JS support (extends React)