Skip to content

Commit

Permalink
Merge pull request #11 from simplabs/pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
pichfl authored Mar 9, 2022
2 parents 87ddf1d + bf1d151 commit 74fd19c
Show file tree
Hide file tree
Showing 4 changed files with 5,330 additions and 5,283 deletions.
31 changes: 23 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
name: CI

env:
PNPM_VERSION: 6.29.1

on:
push:
branches:
- master
- main
- 'v*'
pull_request:
branches:
- master
pull_request: {}

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint:
Expand All @@ -16,12 +22,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v2
with:
node-version: 16.x

- run: yarn install
- run: yarn lint
- name: Install Dependencies
run: pnpm install
- name: Lint
run: pnpm run lint

test:
name: Tests
Expand All @@ -34,9 +44,14 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: pnpm install
- name: Run Tests
run: pnpm run test

- run: yarn install
- run: yarn test
23 changes: 9 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
ember-template-lint-plugin-css-modules
==============================================================================
# ember-template-lint-plugin-css-modules

[ember-template-lint] plugin for [ember-css-modules]

[ember-template-lint]: https://github.com/ember-template-lint/ember-template-lint
[ember-css-modules]: https://github.com/salsify/ember-css-modules


Installation
------------------------------------------------------------------------------
## Installation

```bash
yarn add --dev ember-template-lint-plugin-css-modules
npm install --save-dev ember-template-lint-plugin-css-modules
```


Usage
------------------------------------------------------------------------------
## Usage

```js
// .template-lintrc.js
Expand All @@ -30,17 +25,17 @@ module.exports = {
};
```


Rules
------------------------------------------------------------------------------
## Rules

- [no-class](./rules/no-class.md) – Disallows usage of all `class` attributes
- [static-local-class](./rules/static-local-class.md) – Disallows use of
variable values in `local-class` attributes

# Development

- This plugin uses [pnpm](https://pnpm.js.org/) to manage its dependencies in development.

License
------------------------------------------------------------------------------
## License

This projects is developed by and © [simplabs GmbH](http://simplabs.com)
and contributors. It is released under the [MIT License](LICENSE.md).
Loading

0 comments on commit 74fd19c

Please sign in to comment.