@vitus-labs/tools-lint 0.23.1-alpha.1 → 0.24.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/lib/analysis/vitus-tools-lint.js.html +1 -1
- package/lib/analysis/vitus-tools-lint.module.js.html +1 -1
- package/lib/index.d.ts +6 -0
- package/lib/types/eslint.d.ts +6 -0
- package/lib/vitus-tools-lint.js +4 -0
- package/lib/vitus-tools-lint.js.map +1 -1
- package/lib/vitus-tools-lint.module.js +4 -0
- package/lib/vitus-tools-lint.module.js.map +1 -1
- package/package.json +5 -5
|
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
|
|
|
6424
6424
|
</script>
|
|
6425
6425
|
<script>
|
|
6426
6426
|
/*<!--*/
|
|
6427
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-tools-lint.js","children":[{"name":"src","children":[{"uid":"
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-tools-lint.js","children":[{"name":"src","children":[{"uid":"f234-1","name":"eslint.ts"},{"uid":"f234-3","name":"styles.ts"},{"uid":"f234-5","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f234-1":{"renderedLength":5951,"gzipLength":1221,"brotliLength":0,"mainUid":"f234-0"},"f234-3":{"renderedLength":228,"gzipLength":133,"brotliLength":0,"mainUid":"f234-2"},"f234-5":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"f234-4"}},"nodeMetas":{"f234-0":{"id":"/src/eslint.ts","moduleParts":{"vitus-tools-lint.js":"f234-1"},"imported":[],"importedBy":[{"uid":"f234-4"}]},"f234-2":{"id":"/src/styles.ts","moduleParts":{"vitus-tools-lint.js":"f234-3"},"imported":[],"importedBy":[{"uid":"f234-4"}]},"f234-4":{"id":"/src/index.ts","moduleParts":{"vitus-tools-lint.js":"f234-5"},"imported":[{"uid":"f234-0"},{"uid":"f234-2"}],"importedBy":[],"isEntry":true}},"env":{"rollup":"2.66.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6428
6428
|
|
|
6429
6429
|
const run = () => {
|
|
6430
6430
|
const width = window.innerWidth;
|
|
@@ -6424,7 +6424,7 @@ var drawChart = (function (exports) {
|
|
|
6424
6424
|
</script>
|
|
6425
6425
|
<script>
|
|
6426
6426
|
/*<!--*/
|
|
6427
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-tools-lint.module.js","children":[{"name":"src","children":[{"uid":"
|
|
6427
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"vitus-tools-lint.module.js","children":[{"name":"src","children":[{"uid":"f234-7","name":"eslint.ts"},{"uid":"f234-9","name":"styles.ts"},{"uid":"f234-11","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"f234-7":{"renderedLength":5951,"gzipLength":1221,"brotliLength":0,"mainUid":"f234-6"},"f234-9":{"renderedLength":228,"gzipLength":133,"brotliLength":0,"mainUid":"f234-8"},"f234-11":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"f234-10"}},"nodeMetas":{"f234-6":{"id":"/src/eslint.ts","moduleParts":{"vitus-tools-lint.module.js":"f234-7"},"imported":[],"importedBy":[{"uid":"f234-10"}]},"f234-8":{"id":"/src/styles.ts","moduleParts":{"vitus-tools-lint.module.js":"f234-9"},"imported":[],"importedBy":[{"uid":"f234-10"}]},"f234-10":{"id":"/src/index.ts","moduleParts":{"vitus-tools-lint.module.js":"f234-11"},"imported":[{"uid":"f234-6"},{"uid":"f234-8"}],"importedBy":[],"isEntry":true}},"env":{"rollup":"2.66.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
6428
6428
|
|
|
6429
6429
|
const run = () => {
|
|
6430
6430
|
const width = window.innerWidth;
|
package/lib/index.d.ts
CHANGED
|
@@ -77,6 +77,9 @@ declare const createEslint: ({ projects, env, globals, rules, }?: {
|
|
|
77
77
|
'react/require-default-props': string;
|
|
78
78
|
'react/prop-types': string;
|
|
79
79
|
'react/jsx-props-no-spreading': string;
|
|
80
|
+
'react/function-component-definition': (number | {
|
|
81
|
+
namedComponents: string;
|
|
82
|
+
})[];
|
|
80
83
|
'react/jsx-filename-extension': (number | {
|
|
81
84
|
extensions: string[];
|
|
82
85
|
})[];
|
|
@@ -201,6 +204,9 @@ declare const _default$1: {
|
|
|
201
204
|
'react/require-default-props': string;
|
|
202
205
|
'react/prop-types': string;
|
|
203
206
|
'react/jsx-props-no-spreading': string;
|
|
207
|
+
'react/function-component-definition': (number | {
|
|
208
|
+
namedComponents: string;
|
|
209
|
+
})[];
|
|
204
210
|
'react/jsx-filename-extension': (number | {
|
|
205
211
|
extensions: string[];
|
|
206
212
|
})[];
|
package/lib/types/eslint.d.ts
CHANGED
|
@@ -77,6 +77,9 @@ declare const createEslint: ({ projects, env, globals, rules, }?: {
|
|
|
77
77
|
'react/require-default-props': string;
|
|
78
78
|
'react/prop-types': string;
|
|
79
79
|
'react/jsx-props-no-spreading': string;
|
|
80
|
+
'react/function-component-definition': (number | {
|
|
81
|
+
namedComponents: string;
|
|
82
|
+
})[];
|
|
80
83
|
'react/jsx-filename-extension': (number | {
|
|
81
84
|
extensions: string[];
|
|
82
85
|
})[];
|
|
@@ -201,6 +204,9 @@ declare const _default: {
|
|
|
201
204
|
'react/require-default-props': string;
|
|
202
205
|
'react/prop-types': string;
|
|
203
206
|
'react/jsx-props-no-spreading': string;
|
|
207
|
+
'react/function-component-definition': (number | {
|
|
208
|
+
namedComponents: string;
|
|
209
|
+
})[];
|
|
204
210
|
'react/jsx-filename-extension': (number | {
|
|
205
211
|
extensions: string[];
|
|
206
212
|
})[];
|
package/lib/vitus-tools-lint.js
CHANGED
|
@@ -98,6 +98,10 @@ const createEslint = ({ projects = ['packages', 'apps', 'tools', 'features'], en
|
|
|
98
98
|
'react/require-default-props': 'off',
|
|
99
99
|
'react/prop-types': 'off',
|
|
100
100
|
'react/jsx-props-no-spreading': 'off',
|
|
101
|
+
'react/function-component-definition': [
|
|
102
|
+
2,
|
|
103
|
+
{ namedComponents: 'function-expression' },
|
|
104
|
+
],
|
|
101
105
|
'react/jsx-filename-extension': [
|
|
102
106
|
1,
|
|
103
107
|
{ extensions: ['.js', '.jsx', '.ts', '.tsx'] },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vitus-tools-lint.js","sources":["../src/eslint.ts","../src/styles.ts"],"sourcesContent":["const createEslint = ({\n projects = ['packages', 'apps', 'tools', 'features'],\n env = {},\n globals = {},\n rules = {},\n} = {}) => {\n const tsProjects = projects.map((item) => `${item}/**/*/tsconfig.json`)\n\n return {\n root: true,\n env: {\n browser: true,\n node: true,\n es6: true,\n ...env,\n },\n globals: {\n __SERVER__: true,\n __WEB__: true,\n __BROWSER__: true,\n __NATIVE__: true,\n __CLIENT__: true,\n ...globals,\n },\n parser: '@typescript-eslint/parser',\n plugins: ['react', '@typescript-eslint', 'jest', 'prettier'],\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n ecmaVersion: 2018,\n sourceType: 'module',\n },\n extends: [\n 'plugin:import/errors',\n 'plugin:import/warnings',\n 'plugin:import/typescript',\n 'plugin:react/recommended',\n 'plugin:prettier/recommended',\n 'plugin:@typescript-eslint/eslint-recommended',\n 'plugin:@typescript-eslint/recommended',\n 'airbnb',\n 'plugin:jest/all',\n 'prettier',\n ],\n settings: {\n jest: {\n version: 27,\n },\n 'import/extensions': ['.js', '.jsx', '.ts', '.tsx'],\n 'import/parsers': {\n '@typescript-eslint/parser': ['.ts', '.tsx'],\n },\n 'import/resolver': {\n node: {\n extensions: ['.js', '.jsx', '.ts', '.tsx'],\n },\n typescript: {\n project: [...tsProjects, 'tsconfig.json'],\n },\n },\n },\n rules: {\n 'import/extensions': [\n 'error',\n 'ignorePackages',\n {\n js: 'never',\n jsx: 'never',\n ts: 'never',\n tsx: 'never',\n },\n ],\n 'prettier/prettier': 'error',\n 'no-unused-vars': 'off',\n 'no-useless-constructor': 'off',\n 'no-shadow': 'off',\n 'no-use-before-define': 'off', // is being used @typescript-eslint/no-use-before-define\n 'no-param-reassign': [\n 'error',\n { props: true, ignorePropertyModificationsFor: ['self'] },\n ],\n '@typescript-eslint/no-explicit-any': 'off',\n '@typescript-eslint/no-useless-constructor': 'error',\n '@typescript-eslint/explicit-function-return-type': 'off',\n '@typescript-eslint/no-unused-vars': 'error',\n '@typescript-eslint/member-delimiter-style': [\n 2,\n {\n multiline: {\n delimiter: 'none',\n requireLast: false,\n },\n singleline: {\n delimiter: 'semi',\n requireLast: false,\n },\n },\n ],\n 'react/require-default-props': 'off',\n 'react/prop-types': 'off',\n 'react/jsx-props-no-spreading': 'off',\n 'react/jsx-filename-extension': [\n 1,\n { extensions: ['.js', '.jsx', '.ts', '.tsx'] },\n ],\n ...rules,\n },\n overrides: [\n {\n files: [\n '.eslintrc.js',\n '*.eslintrc.js',\n '*.eslintrc.*.js',\n 'stylelint.config.js',\n 'vl-tools.config.js',\n '.babelrc.js',\n ],\n rules: {\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n devDependencies: true,\n optionalDependencies: true,\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: [\n '**/__stories__/**',\n '*.stories.*',\n '*stories.*',\n '**/__tests__/**',\n '**/__specs__/**',\n '*.spec.*',\n '*.test.*',\n ],\n rules: {\n '@typescript-eslint/explicit-module-boundary-types': 'off',\n 'no-console': 'off',\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n devDependencies: true,\n optionalDependencies: true,\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: ['**/bin/*.js'],\n rules: {\n '@typescript-eslint/no-var-requires': 'off',\n 'no-console': 'off',\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: ['**/__tests__/**', '**/__specs__/**', '*.spec.*', '*.test.*'],\n env: {\n 'jest/globals': true,\n },\n },\n ],\n }\n}\n\nexport { createEslint }\nexport default createEslint()\n","export default {\n processors: ['stylelint-processor-styled-components'],\n extends: [\n 'stylelint-config-recommended',\n 'stylelint-config-styled-components',\n 'stylelint-config-prettier',\n ],\n}\n"],"names":[],"mappings":";;;;MAAM,YAAY,GAAG,CAAC,EACpB,QAAQ,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,EACpD,GAAG,GAAG,EAAE,EACR,OAAO,GAAG,EAAE,EACZ,KAAK,GAAG,EAAE,GACX,GAAG,EAAE;IACJ,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,qBAAqB,CAAC,CAAA;IAEvE,OAAO;QACL,IAAI,EAAE,IAAI;QACV,GAAG,EAAE;YACH,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,IAAI;YACV,GAAG,EAAE,IAAI;YACT,GAAG,GAAG;SACP;QACD,OAAO,EAAE;YACP,UAAU,EAAE,IAAI;YAChB,OAAO,EAAE,IAAI;YACb,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,IAAI;YAChB,GAAG,OAAO;SACX;QACD,MAAM,EAAE,2BAA2B;QACnC,OAAO,EAAE,CAAC,OAAO,EAAE,oBAAoB,EAAE,MAAM,EAAE,UAAU,CAAC;QAC5D,aAAa,EAAE;YACb,YAAY,EAAE;gBACZ,GAAG,EAAE,IAAI;aACV;YACD,WAAW,EAAE,IAAI;YACjB,UAAU,EAAE,QAAQ;SACrB;QACD,OAAO,EAAE;YACP,sBAAsB;YACtB,wBAAwB;YACxB,0BAA0B;YAC1B,0BAA0B;YAC1B,6BAA6B;YAC7B,8CAA8C;YAC9C,uCAAuC;YACvC,QAAQ;YACR,iBAAiB;YACjB,UAAU;SACX;QACD,QAAQ,EAAE;YACR,IAAI,EAAE;gBACJ,OAAO,EAAE,EAAE;aACZ;YACD,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC;YACnD,gBAAgB,EAAE;gBAChB,2BAA2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E;YACT;gBACE,KAAK,EAAE;oBACL,cAAc;oBACd,eAAe;oBACf,iBAAiB;oBACjB,qBAAqB;oBACrB,oBAAoB;oBACpB,aAAa;iBACd;gBACD,KAAK,EAAE;oBACL,mCAAmC,EAAE;wBACnC,OAAO;wBACP;4BACE,eAAe,EAAE,IAAI;4BACrB,oBAAoB,EAAE,IAAI;4BAC1B,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE;oBACL,mBAAmB;oBACnB,aAAa;oBACb,YAAY;oBACZ,iBAAiB;oBACjB,iBAAiB;oBACjB,UAAU;oBACV,UAAU;iBACX;gBACD,KAAK,EAAE;oBACL,mDAAmD,EAAE,KAAK;oBAC1D,YAAY,EAAE,KAAK;oBACnB,mCAAmC,EAAE;wBACnC,OAAO;wBACP;4BACE,eAAe,EAAE,IAAI;4BACrB,oBAAoB,EAAE,IAAI;4BAC1B,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE,CAAC,aAAa,CAAC;gBACtB,KAAK,EAAE;oBACL,oCAAoC,EAAE,KAAK;oBAC3C,YAAY,EAAE,KAAK;oBACnB,mCAAmC,EAAE;wBACnC,OAAO;wBACP;4BACE,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,CAAC;gBACrE,GAAG,EAAE;oBACH,cAAc,EAAE,IAAI;iBACrB;aACF;SACF;KACF,CAAA;AACH,EAAC;AAGD,aAAe,YAAY,EAAE;;
|
|
1
|
+
{"version":3,"file":"vitus-tools-lint.js","sources":["../src/eslint.ts","../src/styles.ts"],"sourcesContent":["const createEslint = ({\n projects = ['packages', 'apps', 'tools', 'features'],\n env = {},\n globals = {},\n rules = {},\n} = {}) => {\n const tsProjects = projects.map((item) => `${item}/**/*/tsconfig.json`)\n\n return {\n root: true,\n env: {\n browser: true,\n node: true,\n es6: true,\n ...env,\n },\n globals: {\n __SERVER__: true,\n __WEB__: true,\n __BROWSER__: true,\n __NATIVE__: true,\n __CLIENT__: true,\n ...globals,\n },\n parser: '@typescript-eslint/parser',\n plugins: ['react', '@typescript-eslint', 'jest', 'prettier'],\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n ecmaVersion: 2018,\n sourceType: 'module',\n },\n extends: [\n 'plugin:import/errors',\n 'plugin:import/warnings',\n 'plugin:import/typescript',\n 'plugin:react/recommended',\n 'plugin:prettier/recommended',\n 'plugin:@typescript-eslint/eslint-recommended',\n 'plugin:@typescript-eslint/recommended',\n 'airbnb',\n 'plugin:jest/all',\n 'prettier',\n ],\n settings: {\n jest: {\n version: 27,\n },\n 'import/extensions': ['.js', '.jsx', '.ts', '.tsx'],\n 'import/parsers': {\n '@typescript-eslint/parser': ['.ts', '.tsx'],\n },\n 'import/resolver': {\n node: {\n extensions: ['.js', '.jsx', '.ts', '.tsx'],\n },\n typescript: {\n project: [...tsProjects, 'tsconfig.json'],\n },\n },\n },\n rules: {\n 'import/extensions': [\n 'error',\n 'ignorePackages',\n {\n js: 'never',\n jsx: 'never',\n ts: 'never',\n tsx: 'never',\n },\n ],\n 'prettier/prettier': 'error',\n 'no-unused-vars': 'off',\n 'no-useless-constructor': 'off',\n 'no-shadow': 'off',\n 'no-use-before-define': 'off', // is being used @typescript-eslint/no-use-before-define\n 'no-param-reassign': [\n 'error',\n { props: true, ignorePropertyModificationsFor: ['self'] },\n ],\n '@typescript-eslint/no-explicit-any': 'off',\n '@typescript-eslint/no-useless-constructor': 'error',\n '@typescript-eslint/explicit-function-return-type': 'off',\n '@typescript-eslint/no-unused-vars': 'error',\n '@typescript-eslint/member-delimiter-style': [\n 2,\n {\n multiline: {\n delimiter: 'none',\n requireLast: false,\n },\n singleline: {\n delimiter: 'semi',\n requireLast: false,\n },\n },\n ],\n 'react/require-default-props': 'off',\n 'react/prop-types': 'off',\n 'react/jsx-props-no-spreading': 'off',\n 'react/function-component-definition': [\n 2,\n { namedComponents: 'function-expression' },\n ],\n 'react/jsx-filename-extension': [\n 1,\n { extensions: ['.js', '.jsx', '.ts', '.tsx'] },\n ],\n ...rules,\n },\n overrides: [\n {\n files: [\n '.eslintrc.js',\n '*.eslintrc.js',\n '*.eslintrc.*.js',\n 'stylelint.config.js',\n 'vl-tools.config.js',\n '.babelrc.js',\n ],\n rules: {\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n devDependencies: true,\n optionalDependencies: true,\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: [\n '**/__stories__/**',\n '*.stories.*',\n '*stories.*',\n '**/__tests__/**',\n '**/__specs__/**',\n '*.spec.*',\n '*.test.*',\n ],\n rules: {\n '@typescript-eslint/explicit-module-boundary-types': 'off',\n 'no-console': 'off',\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n devDependencies: true,\n optionalDependencies: true,\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: ['**/bin/*.js'],\n rules: {\n '@typescript-eslint/no-var-requires': 'off',\n 'no-console': 'off',\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: ['**/__tests__/**', '**/__specs__/**', '*.spec.*', '*.test.*'],\n env: {\n 'jest/globals': true,\n },\n },\n ],\n }\n}\n\nexport { createEslint }\nexport default createEslint()\n","export default {\n processors: ['stylelint-processor-styled-components'],\n extends: [\n 'stylelint-config-recommended',\n 'stylelint-config-styled-components',\n 'stylelint-config-prettier',\n ],\n}\n"],"names":[],"mappings":";;;;MAAM,YAAY,GAAG,CAAC,EACpB,QAAQ,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,EACpD,GAAG,GAAG,EAAE,EACR,OAAO,GAAG,EAAE,EACZ,KAAK,GAAG,EAAE,GACX,GAAG,EAAE;IACJ,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,GAA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iBACF;aACF;YACD;gBACE,KAAK,EAAE;oBACL,mBAAmB;oBACnB,aAAa;oBACb,YAAY;oBACZ,iBAAiB;oBACjB,iBAAiB;oBACjB,UAAU;oBACV,UAAU;iBACX;gBACD,KAAK,EAAE;oBACL,mDAAmD,EAAE,KAAK;oBAC1D,YAAY,EAAE,KAAK;oBACnB,mCAAmC,EAAE;wBACnC,OAAO;wBACP;4BACE,eAAe,EAAE,IAAI;4BACrB,oBAAoB,EAAE,IAAI;4BAC1B,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE,CAAC,aAAa,CAAC;gBACtB,KAAK,EAAE;oBACL,oCAAoC,EAAE,KAAK;oBAC3C,YAAY,EAAE,KAAK;oBACnB,mCAAmC,EAAE;wBACnC,OAAO;wBACP;4BACE,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,CAAC;gBACrE,GAAG,EAAE;oBACH,cAAc,EAAE,IAAI;iBACrB;aACF;SACF;KACF,CAAA;AACH,EAAC;AAGD,aAAe,YAAY,EAAE;;ACpL7B,aAAe;IACb,UAAU,EAAE,CAAC,uCAAuC,CAAC;IACrD,OAAO,EAAE;QACP,8BAA8B;QAC9B,oCAAoC;QACpC,2BAA2B;KAC5B;CACF;;;;;;"}
|
|
@@ -94,6 +94,10 @@ const createEslint = ({ projects = ['packages', 'apps', 'tools', 'features'], en
|
|
|
94
94
|
'react/require-default-props': 'off',
|
|
95
95
|
'react/prop-types': 'off',
|
|
96
96
|
'react/jsx-props-no-spreading': 'off',
|
|
97
|
+
'react/function-component-definition': [
|
|
98
|
+
2,
|
|
99
|
+
{ namedComponents: 'function-expression' },
|
|
100
|
+
],
|
|
97
101
|
'react/jsx-filename-extension': [
|
|
98
102
|
1,
|
|
99
103
|
{ extensions: ['.js', '.jsx', '.ts', '.tsx'] },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vitus-tools-lint.module.js","sources":["../src/eslint.ts","../src/styles.ts"],"sourcesContent":["const createEslint = ({\n projects = ['packages', 'apps', 'tools', 'features'],\n env = {},\n globals = {},\n rules = {},\n} = {}) => {\n const tsProjects = projects.map((item) => `${item}/**/*/tsconfig.json`)\n\n return {\n root: true,\n env: {\n browser: true,\n node: true,\n es6: true,\n ...env,\n },\n globals: {\n __SERVER__: true,\n __WEB__: true,\n __BROWSER__: true,\n __NATIVE__: true,\n __CLIENT__: true,\n ...globals,\n },\n parser: '@typescript-eslint/parser',\n plugins: ['react', '@typescript-eslint', 'jest', 'prettier'],\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n ecmaVersion: 2018,\n sourceType: 'module',\n },\n extends: [\n 'plugin:import/errors',\n 'plugin:import/warnings',\n 'plugin:import/typescript',\n 'plugin:react/recommended',\n 'plugin:prettier/recommended',\n 'plugin:@typescript-eslint/eslint-recommended',\n 'plugin:@typescript-eslint/recommended',\n 'airbnb',\n 'plugin:jest/all',\n 'prettier',\n ],\n settings: {\n jest: {\n version: 27,\n },\n 'import/extensions': ['.js', '.jsx', '.ts', '.tsx'],\n 'import/parsers': {\n '@typescript-eslint/parser': ['.ts', '.tsx'],\n },\n 'import/resolver': {\n node: {\n extensions: ['.js', '.jsx', '.ts', '.tsx'],\n },\n typescript: {\n project: [...tsProjects, 'tsconfig.json'],\n },\n },\n },\n rules: {\n 'import/extensions': [\n 'error',\n 'ignorePackages',\n {\n js: 'never',\n jsx: 'never',\n ts: 'never',\n tsx: 'never',\n },\n ],\n 'prettier/prettier': 'error',\n 'no-unused-vars': 'off',\n 'no-useless-constructor': 'off',\n 'no-shadow': 'off',\n 'no-use-before-define': 'off', // is being used @typescript-eslint/no-use-before-define\n 'no-param-reassign': [\n 'error',\n { props: true, ignorePropertyModificationsFor: ['self'] },\n ],\n '@typescript-eslint/no-explicit-any': 'off',\n '@typescript-eslint/no-useless-constructor': 'error',\n '@typescript-eslint/explicit-function-return-type': 'off',\n '@typescript-eslint/no-unused-vars': 'error',\n '@typescript-eslint/member-delimiter-style': [\n 2,\n {\n multiline: {\n delimiter: 'none',\n requireLast: false,\n },\n singleline: {\n delimiter: 'semi',\n requireLast: false,\n },\n },\n ],\n 'react/require-default-props': 'off',\n 'react/prop-types': 'off',\n 'react/jsx-props-no-spreading': 'off',\n 'react/jsx-filename-extension': [\n 1,\n { extensions: ['.js', '.jsx', '.ts', '.tsx'] },\n ],\n ...rules,\n },\n overrides: [\n {\n files: [\n '.eslintrc.js',\n '*.eslintrc.js',\n '*.eslintrc.*.js',\n 'stylelint.config.js',\n 'vl-tools.config.js',\n '.babelrc.js',\n ],\n rules: {\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n devDependencies: true,\n optionalDependencies: true,\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: [\n '**/__stories__/**',\n '*.stories.*',\n '*stories.*',\n '**/__tests__/**',\n '**/__specs__/**',\n '*.spec.*',\n '*.test.*',\n ],\n rules: {\n '@typescript-eslint/explicit-module-boundary-types': 'off',\n 'no-console': 'off',\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n devDependencies: true,\n optionalDependencies: true,\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: ['**/bin/*.js'],\n rules: {\n '@typescript-eslint/no-var-requires': 'off',\n 'no-console': 'off',\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: ['**/__tests__/**', '**/__specs__/**', '*.spec.*', '*.test.*'],\n env: {\n 'jest/globals': true,\n },\n },\n ],\n }\n}\n\nexport { createEslint }\nexport default createEslint()\n","export default {\n processors: ['stylelint-processor-styled-components'],\n extends: [\n 'stylelint-config-recommended',\n 'stylelint-config-styled-components',\n 'stylelint-config-prettier',\n ],\n}\n"],"names":[],"mappings":"MAAM,YAAY,GAAG,CAAC,EACpB,QAAQ,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE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OAAO;wBACP;4BACE,eAAe,EAAE,IAAI;4BACrB,oBAAoB,EAAE,IAAI;4BAC1B,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE;oBACL,mBAAmB;oBACnB,aAAa;oBACb,YAAY;oBACZ,iBAAiB;oBACjB,iBAAiB;oBACjB,UAAU;oBACV,UAAU;iBACX;gBACD,KAAK,EAAE;oBACL,mDAAmD,EAAE,KAAK;oBAC1D,YAAY,EAAE,KAAK;oBACnB,mCAAmC,EAAE;wBACnC,OAAO;wBACP;4BACE,eAAe,EAAE,IAAI;4BACrB,oBAAoB,EAAE,IAAI;4BAC1B,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE,CAAC,aAAa,CAAC;gBACtB,KAAK,EAAE;oBACL,oCAAoC,EAAE,KAAK;oBAC3C,YAAY,EAAE,KAAK;oBACnB,mCAAmC,EAAE;wBACnC,OAAO;wBACP;4BACE,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,CAAC;gBACrE,GAAG,EAAE;oBACH,cAAc,EAAE,IAAI;iBACrB;aACF;SACF;KACF,CAAA;AACH,EAAC;AAGD,aAAe,YAAY,EAAE;;
|
|
1
|
+
{"version":3,"file":"vitus-tools-lint.module.js","sources":["../src/eslint.ts","../src/styles.ts"],"sourcesContent":["const createEslint = ({\n projects = ['packages', 'apps', 'tools', 'features'],\n env = {},\n globals = {},\n rules = {},\n} = {}) => {\n const tsProjects = projects.map((item) => `${item}/**/*/tsconfig.json`)\n\n return {\n root: true,\n env: {\n browser: true,\n node: true,\n es6: true,\n ...env,\n },\n globals: {\n __SERVER__: true,\n __WEB__: true,\n __BROWSER__: true,\n __NATIVE__: true,\n __CLIENT__: true,\n ...globals,\n },\n parser: '@typescript-eslint/parser',\n plugins: ['react', '@typescript-eslint', 'jest', 'prettier'],\n parserOptions: {\n ecmaFeatures: {\n jsx: true,\n },\n ecmaVersion: 2018,\n sourceType: 'module',\n },\n extends: [\n 'plugin:import/errors',\n 'plugin:import/warnings',\n 'plugin:import/typescript',\n 'plugin:react/recommended',\n 'plugin:prettier/recommended',\n 'plugin:@typescript-eslint/eslint-recommended',\n 'plugin:@typescript-eslint/recommended',\n 'airbnb',\n 'plugin:jest/all',\n 'prettier',\n ],\n settings: {\n jest: {\n version: 27,\n },\n 'import/extensions': ['.js', '.jsx', '.ts', '.tsx'],\n 'import/parsers': {\n '@typescript-eslint/parser': ['.ts', '.tsx'],\n },\n 'import/resolver': {\n node: {\n extensions: ['.js', '.jsx', '.ts', '.tsx'],\n },\n typescript: {\n project: [...tsProjects, 'tsconfig.json'],\n },\n },\n },\n rules: {\n 'import/extensions': [\n 'error',\n 'ignorePackages',\n {\n js: 'never',\n jsx: 'never',\n ts: 'never',\n tsx: 'never',\n },\n ],\n 'prettier/prettier': 'error',\n 'no-unused-vars': 'off',\n 'no-useless-constructor': 'off',\n 'no-shadow': 'off',\n 'no-use-before-define': 'off', // is being used @typescript-eslint/no-use-before-define\n 'no-param-reassign': [\n 'error',\n { props: true, ignorePropertyModificationsFor: ['self'] },\n ],\n '@typescript-eslint/no-explicit-any': 'off',\n '@typescript-eslint/no-useless-constructor': 'error',\n '@typescript-eslint/explicit-function-return-type': 'off',\n '@typescript-eslint/no-unused-vars': 'error',\n '@typescript-eslint/member-delimiter-style': [\n 2,\n {\n multiline: {\n delimiter: 'none',\n requireLast: false,\n },\n singleline: {\n delimiter: 'semi',\n requireLast: false,\n },\n },\n ],\n 'react/require-default-props': 'off',\n 'react/prop-types': 'off',\n 'react/jsx-props-no-spreading': 'off',\n 'react/function-component-definition': [\n 2,\n { namedComponents: 'function-expression' },\n ],\n 'react/jsx-filename-extension': [\n 1,\n { extensions: ['.js', '.jsx', '.ts', '.tsx'] },\n ],\n ...rules,\n },\n overrides: [\n {\n files: [\n '.eslintrc.js',\n '*.eslintrc.js',\n '*.eslintrc.*.js',\n 'stylelint.config.js',\n 'vl-tools.config.js',\n '.babelrc.js',\n ],\n rules: {\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n devDependencies: true,\n optionalDependencies: true,\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: [\n '**/__stories__/**',\n '*.stories.*',\n '*stories.*',\n '**/__tests__/**',\n '**/__specs__/**',\n '*.spec.*',\n '*.test.*',\n ],\n rules: {\n '@typescript-eslint/explicit-module-boundary-types': 'off',\n 'no-console': 'off',\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n devDependencies: true,\n optionalDependencies: true,\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: ['**/bin/*.js'],\n rules: {\n '@typescript-eslint/no-var-requires': 'off',\n 'no-console': 'off',\n 'import/no-extraneous-dependencies': [\n 'error',\n {\n peerDependencies: true,\n },\n ],\n },\n },\n {\n files: ['**/__tests__/**', '**/__specs__/**', '*.spec.*', '*.test.*'],\n env: {\n 'jest/globals': true,\n },\n },\n ],\n }\n}\n\nexport { createEslint }\nexport default createEslint()\n","export default {\n processors: ['stylelint-processor-styled-components'],\n extends: [\n 'stylelint-config-recommended',\n 'stylelint-config-styled-components',\n 'stylelint-config-prettier',\n ],\n}\n"],"names":[],"mappings":"MAAM,YAAY,GAAG,CAAC,EACpB,QAAQ,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,EACpD,GAAG,GAAG,EAAE,EACR,OAAO,GAAG,EAAE,EACZ,KAAK,GAAG,EAAE,GACX,GAAG,EAAE;IACJ,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,qBAAqB,CAAC,CAAA;IAEvE,OAAO;QACL,IAAI,EAAE,IAAI;QACV,GAAG,EAAE;YACH,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,IAAI;YACV,GAAG,EAAE,IAAI;YACT,GAAG,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DAAmD,EAAE,KAAK;oBAC1D,YAAY,EAAE,KAAK;oBACnB,mCAAmC,EAAE;wBACnC,OAAO;wBACP;4BACE,eAAe,EAAE,IAAI;4BACrB,oBAAoB,EAAE,IAAI;4BAC1B,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE,CAAC,aAAa,CAAC;gBACtB,KAAK,EAAE;oBACL,oCAAoC,EAAE,KAAK;oBAC3C,YAAY,EAAE,KAAK;oBACnB,mCAAmC,EAAE;wBACnC,OAAO;wBACP;4BACE,gBAAgB,EAAE,IAAI;yBACvB;qBACF;iBACF;aACF;YACD;gBACE,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,CAAC;gBACrE,GAAG,EAAE;oBACH,cAAc,EAAE,IAAI;iBACrB;aACF;SACF;KACF,CAAA;AACH,EAAC;AAGD,aAAe,YAAY,EAAE;;ACpL7B,aAAe;IACb,UAAU,EAAE,CAAC,uCAAuC,CAAC;IACrD,OAAO,EAAE;QACP,8BAA8B;QAC9B,oCAAoC;QACpC,2BAA2B;KAC5B;CACF;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitus-labs/tools-lint",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Vit Bokisch <vit@bokisch.com>",
|
|
6
6
|
"maintainers": [
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"typescript": "*"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@vitus-labs/tools-babel": "0.
|
|
33
|
-
"@vitus-labs/tools-rollup": "0.
|
|
34
|
-
"@vitus-labs/tools-typescript": "0.
|
|
32
|
+
"@vitus-labs/tools-babel": "0.24.0",
|
|
33
|
+
"@vitus-labs/tools-rollup": "0.24.0",
|
|
34
|
+
"@vitus-labs/tools-typescript": "0.24.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@typescript-eslint/eslint-plugin": "^5.10.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"stylelint-config-styled-components": "^0.1.1",
|
|
54
54
|
"stylelint-processor-styled-components": "^1.10.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "70da86ff01f63c793820279ef6323bbf6b71b4b2"
|
|
57
57
|
}
|