An open API service indexing awesome lists of open source software.

https://github.com/nullvoxpopuli/project-linter

Create conventions for file placement for any kind of JS/TS project. React, Angular, Vue, Svelte, Ember, etc.
https://github.com/nullvoxpopuli/project-linter

Last synced: over 1 year ago
JSON representation

Create conventions for file placement for any kind of JS/TS project. React, Angular, Vue, Svelte, Ember, etc.

Awesome Lists containing this project

README

          

# Project Linter

Define a schema for enforcing structure within your project.
Enforce consistency while trying to figure out what works best for your team.

This works by using Abstract Syntax Trees (ASTs) to identify file types,
defined by you, categorize them, and then validation their location against
the schema.

## Install

```bash
npm install project-linter
# or
yarn add project-linter
```

## Usage

```js
// .project-lintrc.js
module.exports = {
categories: {
componentJs: require('./...)
component: ['single-file-component', 'multi-file-component']
componentFolder: {

}
}
}

```