File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ npm i -D @trigen/eslint-config
3131
3232## Configure
3333
34- Create ` .eslintrc ` with next content:
34+ Create ` .eslintrc.json ` with next content:
3535
3636``` json
3737{
Original file line number Diff line number Diff line change 11{
22 "name" : " @trigen/eslint-config" ,
33 "version" : " 8.0.0-alpha.3" ,
4- "description" : " Trigen's ESLint config" ,
4+ "description" : " Trigen's ESLint config. " ,
55 "author" : " dangreen" ,
66 "license" : " MIT" ,
77 "repository" : {
1212 "bugs" : {
1313 "url" : " https://github.com/TrigenSoftware/scripts/issues"
1414 },
15+ "keywords" : [
16+ " eslint" ,
17+ " eslint-config"
18+ ],
19+ "engines" : {
20+ "node" : " >=10"
21+ },
1522 "main" : " ./src/index.js" ,
1623 "exports" : {
1724 "." : " ./src/index.js" ,
1825 "./*" : " ./src/*.js"
1926 },
20- "engines" : {
21- "node" : " >=10"
27+ "publishConfig" : {
28+ "access" : " public" ,
29+ "directory" : " package"
2230 },
23- "keywords" : [
24- " eslint" ,
25- " eslint-config"
26- ],
2731 "scripts" : {
2832 "prepublishOnly" : " del ./package && clean-publish" ,
2933 "postpublish" : " del ./package"
4448 "eslint-plugin-jsdoc" : " ^37.0.0" ,
4549 "eslint-plugin-react" : " ^7.27.1" ,
4650 "eslint-plugin-react-hooks" : " ^4.3.0" ,
47- "eslint-plugin-security" : " ^1.4.0" ,
4851 "eslint-plugin-testing-library" : " ^5.0.0"
4952 },
50- "publishConfig" : {
51- "access" : " public" ,
52- "directory" : " package"
53- },
5453 "readme" : " "
5554}
Original file line number Diff line number Diff line change 33 */
44
55module . exports = {
6- plugins : [ 'security' ] ,
7- extends : [
8- 'eslint:recommended' ,
9- 'plugin:jsdoc/recommended' ,
10- 'plugin:security/recommended'
11- ] . concat ( [
6+ extends : [ 'eslint:recommended' , 'plugin:jsdoc/recommended' ] . concat ( [
127 './rules/common' ,
138 './rules/es6' ,
149 './rules/jsdoc'
You can’t perform that action at this time.
0 commit comments