@frontify/eslint-config-basic 0.15.3 → 0.16.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.
- package/index.js +11 -1
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ module.exports = {
|
|
|
6
6
|
browser: true,
|
|
7
7
|
node: true,
|
|
8
8
|
},
|
|
9
|
-
plugins: ['html', 'unicorn', 'prettier'],
|
|
9
|
+
plugins: ['html', 'unicorn', 'notice', 'prettier'],
|
|
10
10
|
extends: ['plugin:jsonc/recommended-with-jsonc', 'plugin:prettier/recommended'],
|
|
11
11
|
overrides: [
|
|
12
12
|
{
|
|
@@ -145,5 +145,15 @@ module.exports = {
|
|
|
145
145
|
allowSeparatedGroups: false,
|
|
146
146
|
},
|
|
147
147
|
],
|
|
148
|
+
|
|
149
|
+
'notice/notice': [
|
|
150
|
+
'error',
|
|
151
|
+
{
|
|
152
|
+
template: '/* (c) Copyright Frontify Ltd., all rights reserved. */\n\n',
|
|
153
|
+
messages: {
|
|
154
|
+
whenFailedToMatch: 'No Frontify copyright header set.',
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
],
|
|
148
158
|
},
|
|
149
159
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontify/eslint-config-basic",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Frontify Developers <developers@frontify.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"eslint-plugin-html": "^7.1.0",
|
|
29
29
|
"eslint-plugin-jsonc": "^2.5.0",
|
|
30
30
|
"eslint-plugin-node": "^11.1.0",
|
|
31
|
+
"eslint-plugin-notice": "^0.9.10",
|
|
31
32
|
"eslint-plugin-prettier": "^4.2.1",
|
|
32
33
|
"eslint-plugin-promise": "^6.1.1",
|
|
33
34
|
"eslint-plugin-unicorn": "^44.0.2"
|