eslint-config-teleology

Code structure for teleology javascript projects

Usage no npm install needed!

<script type="module">
  import eslintConfigTeleology from 'https://cdn.skypack.dev/eslint-config-teleology';
</script>

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)