eslint: Drop 'dot-notation' rule

Bug: T210552
Change-Id: I09660b9d49cfdc450efe0273736abd4730da5e77
This commit is contained in:
James D. Forrester 2018-11-28 10:46:36 -08:00
parent e90e425168
commit 90ada228cd
3 changed files with 8 additions and 9 deletions

View file

@ -9,7 +9,6 @@
"$": false
},
"rules": {
"dot-notation": [ "error", { "allowKeywords": true } ],
"max-len": 0
}
}

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
<title>
user avatar
</title>
<g fill="#72777d">
<path d="M10 11c-5.92 0-8 3-8 5v3h16v-3c0-2-2.08-5-8-5z"/>
<circle cx="10" cy="5.5" r="4.5"/>
</g>
<title>
user avatar
</title>
<g fill="#72777d">
<path d="M10 11c-5.92 0-8 3-8 5v3h16v-3c0-2-2.08-5-8-5z"/>
<circle cx="10" cy="5.5" r="4.5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 317 B

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 96 96">
<polygon fill="#fff" points="96,14 82,0 48,34 14,0 0,14 34,48 0,82 14,96 48,62 82,96 96,82 62,48 "/>
<path fill="#fff" d="M96 14L82 0 48 34 14 0 0 14l34 34L0 82l14 14 34-34 34 34 14-14-34-34z"/>
</svg>

Before

Width:  |  Height:  |  Size: 232 B

After

Width:  |  Height:  |  Size: 228 B