eslint-config-brightspace 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ * @Brightspace/gaudi-dev
@@ -2,7 +2,7 @@ name: Release
2
2
  on:
3
3
  push:
4
4
  branches:
5
- - master
5
+ - main
6
6
  - '[0-9]+.x'
7
7
  - '[0-9]+.[0-9]+.x'
8
8
  jobs:
@@ -18,7 +18,7 @@ jobs:
18
18
  - name: Setup Node
19
19
  uses: Brightspace/third-party-actions@actions/setup-node
20
20
  - name: Semantic Release
21
- uses: BrightspaceUI/actions/semantic-release@master
21
+ uses: BrightspaceUI/actions/semantic-release@main
22
22
  with:
23
23
  GITHUB_TOKEN: ${{ secrets.D2L_GITHUB_TOKEN }}
24
24
  NPM: true
package/.releaserc.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "branches": [
3
3
  "+([0-9])?(.{+([0-9]),x}).x",
4
- "master",
4
+ "main",
5
5
  "next",
6
6
  "next-major",
7
7
  {"name": "beta", "prerelease": true},
package/README.md CHANGED
@@ -44,12 +44,6 @@ Specify the desired config for the `extends` property:
44
44
  }
45
45
  ```
46
46
 
47
- To use `react-config`, consumers should install the [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) plugin to enable use of the rules it provides.
48
-
49
- To use `polymer-config`, consumers should install the [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html) plugin to extract and lint JavaScript contained in `.html` web component files. [eslint-plugin-sort-class-members](https://github.com/bryanrsmith/eslint-plugin-sort-class-members) plugin is required to ensure consistency in class format
50
-
51
- To use `lit-config`, consumers should install the [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html), [eslint-plugin-sort-class-members](https://github.com/bryanrsmith/eslint-plugin-sort-class-members) [eslint-plugin-lit](https://github.com/43081j/eslint-plugin-lit) and [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) plugins.
52
-
53
47
  See the [eslint rules](http://eslint.org/docs/rules/) for more details on rule configuration. See the [eslint shareable configs](http://eslint.org/docs/developer-guide/shareable-configs.html) for more details on creating configs.
54
48
 
55
49
  ## Contributing
@@ -62,9 +56,9 @@ This repository is configured with [EditorConfig](http://editorconfig.org) rules
62
56
 
63
57
  ## Versioning & Releasing
64
58
 
65
- > TL;DR: Commits prefixed with `fix:` and `feat:` will trigger patch and minor releases when merged to `master`. Read on for more details...
59
+ > TL;DR: Commits prefixed with `fix:` and `feat:` will trigger patch and minor releases when merged to `main`. Read on for more details...
66
60
 
67
- The [sematic-release GitHub Action](https://github.com/BrightspaceUI/actions/tree/master/semantic-release) is called from the `release.yml` GitHub Action workflow to handle version changes and releasing.
61
+ The [semantic-release GitHub Action](https://github.com/BrightspaceUI/actions/tree/main/semantic-release) is called from the `release.yml` GitHub Action workflow to handle version changes and releasing.
68
62
 
69
63
  ### Version Changes
70
64
 
package/browser-config.js CHANGED
@@ -32,6 +32,7 @@ module.exports = {
32
32
  "sort-imports": [2, { "ignoreCase": true }],
33
33
  "strict": [2, "never"],
34
34
  "import/extensions": ["error", "ignorePackages"],
35
+ "import/no-absolute-path": 2,
35
36
  "no-console": ["error", { "allow": ["warn", "error"] }],
36
37
  ...getSortMemberRules()
37
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-brightspace",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "Common Brightspace eslint configs.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,6 +23,10 @@
23
23
  "homepage": "https://github.com/Brightspace/eslint-config-brightspace",
24
24
  "peerDependencies": {
25
25
  "@babel/eslint-parser": ">= 7",
26
- "eslint": ">= 7"
26
+ "eslint": ">= 7",
27
+ "eslint-plugin-html": "^7",
28
+ "eslint-plugin-import": "^2",
29
+ "eslint-plugin-lit": "^1",
30
+ "eslint-plugin-sort-class-members": "^1"
27
31
  }
28
32
  }