File tree Expand file tree Collapse file tree 4 files changed +55
-43
lines changed Expand file tree Collapse file tree 4 files changed +55
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3636 runs-on : ubuntu-latest
3737 steps :
3838 - uses : actions/checkout@v3
39+ - run : npm install
3940 - run : npx eslint src/assets/netteForms.js
Original file line number Diff line number Diff line change 1+ import globals from 'globals' ;
2+ import pluginJs from '@eslint/js' ;
3+
4+ export default [
5+ pluginJs . configs . recommended ,
6+ {
7+ languageOptions : {
8+ ecmaVersion : 6 ,
9+ globals : {
10+ ...globals . browser ,
11+ 'Tracy' : 'writeable' ,
12+ 'define' : 'readable' ,
13+ 'module' : 'readable' ,
14+ } ,
15+ } ,
16+ ignores : [ '**/*.min.js' ] ,
17+ rules : {
18+ indent : [ 'error' , 'tab' ] ,
19+ quotes : [ 'error' , 'single' ] ,
20+ semi : [ 'error' , 'always' ] ,
21+ 'func-style' : [ 'error' , 'expression' ] ,
22+ 'prefer-arrow-callback' : [ 'error' ] ,
23+ 'arrow-parens' : [ 'error' ] ,
24+ 'arrow-spacing' : [ 'error' ] ,
25+ 'no-unused-vars' : [ 'error' , {
26+ 'caughtErrors' : 'none' ,
27+ } ] ,
28+ } ,
29+ } ,
30+ ] ;
Original file line number Diff line number Diff line change 11{
2- "name" : " nette-forms" ,
3- "version" : " 3.3.6" ,
4- "description" : " Client side script for Nette Forms Component" ,
5- "keywords" : [
6- " nette" ,
7- " validation" ,
8- " forms"
9- ],
10- "homepage" : " https://nette.org" ,
11- "author" : " David Grudl (https://davidgrudl.com)" ,
12- "license" : " BSD-3-Clause" ,
13- "main" : " src/assets/netteForms.js" ,
14- "files" : [
15- " src/assets"
16- ],
17- "repository" : {
18- "type" : " git" ,
19- "url" : " git+https://github.com/nette/forms.git"
20- }
2+ "name" : " nette-forms" ,
3+ "version" : " 3.3.6" ,
4+ "description" : " Client side script for Nette Forms Component" ,
5+ "keywords" : [
6+ " nette" ,
7+ " validation" ,
8+ " forms"
9+ ],
10+ "homepage" : " https://nette.org" ,
11+ "author" : " David Grudl (https://davidgrudl.com)" ,
12+ "license" : " BSD-3-Clause" ,
13+ "main" : " src/assets/netteForms.js" ,
14+ "files" : [
15+ " src/assets"
16+ ],
17+ "repository" : {
18+ "type" : " git" ,
19+ "url" : " git+https://github.com/nette/forms.git"
20+ },
21+ "devDependencies" : {
22+ "@eslint/js" : " ^9.1.1" ,
23+ "eslint" : " ^9.1.1" ,
24+ "globals" : " ^15.1.0"
25+ }
2126}
You can’t perform that action at this time.
0 commit comments